IGNITER Posted April 21, 2014 Share Posted April 21, 2014 (edited) 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. The final result must be: Unfortunately I don't know where I need to put that extra HTML code to make it happen. Thanks in advance! Edited April 21, 2014 by IGNITER (see edit history) Link to comment Share on other sites More sharing options...
dioniz Posted April 21, 2014 Share Posted April 21, 2014 (edited) 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 April 21, 2014 by dioniz (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted April 21, 2014 Share Posted April 21, 2014 why not to use css styles to use rounded corners? it's much easier and easy to control Link to comment Share on other sites More sharing options...
IGNITER Posted April 21, 2014 Author Share Posted April 21, 2014 (edited) 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: as finish of the bottom part of the box. It must be somewhere in the one of the many .tpl files. Edited April 21, 2014 by IGNITER (see edit history) Link to comment Share on other sites More sharing options...
IGNITER Posted April 21, 2014 Author Share Posted April 21, 2014 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 More sharing options...
vekia Posted April 21, 2014 Share Posted April 21, 2014 /modules/blockcms/blockcms.tpl of if it exists: /themes/YOURTHEME/blockcms/blockcms.tpl Link to comment Share on other sites More sharing options...
IGNITER Posted April 22, 2014 Author Share Posted April 22, 2014 Yes, it did the trick, but only for the CMS block. Is there a way to make it globally for all .block? Link to comment Share on other sites More sharing options...
vekia Posted April 22, 2014 Share Posted April 22, 2014 you have to edit each module .tpl file (each module which displays block like blockcms) there is no other way. Link to comment Share on other sites More sharing options...
IGNITER Posted April 22, 2014 Author Share Posted April 22, 2014 Thanks for the help. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now