gabrielos Posted November 5, 2014 Share Posted November 5, 2014 Hello guys! PS 1.6.0.9 default theme have some images under sub-category text. I want to modify some CSS code I think to put image at right (a bigger one). Let me see you two images: First: is my subcategory (with custom theme). As you can see there is some white space (and it`s ugly). And second: what I want to do (or look like) Can you help me? I can handle some code but I am not a programmer so it will be great if you guys can help me with this task. Link to comment Share on other sites More sharing options...
gabrielos Posted November 5, 2014 Author Share Posted November 5, 2014 (edited) ok, find the solution! just upload your thumbnail but you have to modify some css code. themes/your-theme/css/modules/blocktopmenu/css and edit superfish-modified.css find in superfish modified.css .sf-menu > li > ul > li.category-thumbnail > div { float: left; padding-left: 8px; width: 50%; } change it to .sf-menu > li > ul > li.category-thumbnail > div { float: right; padding-left: 0x; width: 20%; clear:both; } and then find .sf-menu > li > ul > li.category-thumbnail > div:first-child { padding-right: 8px; padding-left: 0; }and change it to .sf-menu > li > ul > li.category-thumbnail > div:first-child { padding-right: 0; padding-left: 0; padding-bottom:10px; } now, thumbnail will show in right side not under sub-categories Edited November 5, 2014 by gabrielos (see edit history) 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