Jump to content

Adding a image after block_content element?


Recommended Posts

Hello,

I need to add a image or a <div> under the 'block_content' element in order to make it look with rounded edges on bottom.

 

post-61615-0-51188700-1398071173_thumb.png

 

The final result must be:

 

post-61615-0-22670400-1398077869_thumb.png

 

Unfortunately I don't know where I need to put that extra HTML code to make it happen.

 

Thanks in advance!

Edited by IGNITER (see edit history)
Link to comment
Share on other sites

In global.css find #left_column .block, #right_column .block and add to it

 

background: url(path_to_your_image/yourimage.png) bottom left;

 

and add more bottom padding

 

You can make it with pure css too but i would need to see your site first to tell you that

Edited by dioniz (see edit history)
Link to comment
Share on other sites

Hi,

More bottom padding doesn't do what I want.

 

For example:

<div id="categories_block_left" class="block">

and under the block ...

<div id="bottom_image"> ...

where I can put this image:

post-61615-0-48116700-1398108214_thumb.png

as finish of the bottom part of the box.

 

It must be somewhere in the one of the many .tpl files.

Edited by IGNITER (see edit history)
Link to comment
Share on other sites

why not to use css styles to use rounded corners? it's much easier and easy to control

 

I know, but in this case I am using image as a background of the block, which is more complicated.

With the CSS they are some limitations for that.

 

Where is that block generated, so I can put some extra code?

Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...