Nepherael Posted April 18, 2014 Share Posted April 18, 2014 (edited) Hello I just want to know if there is a way to configure the font, color, BIU, and font size of the text used in my category block from the BO If not can you tell me which file to edit to change these functions? I would like the ability to change each category name individually if possible Thank you very much! Edited April 18, 2014 by Nepherael (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted April 18, 2014 Share Posted April 18, 2014 everything depends on what module you use to display categories, what theme, and what ps version. Link to comment Share on other sites More sharing options...
Nepherael Posted April 18, 2014 Author Share Posted April 18, 2014 (edited) Sorry about that. I'm in prestashop version 1.5.4.1 and I'm using the default theme and default category module Edited April 18, 2014 by Nepherael (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted April 18, 2014 Share Posted April 18, 2014 ok so, this module hasn't got any feature to customize design in back office. you have to change styles manually in global.css file located in your theme directory (css subdirectory) /*************** Block CATEGORIES ***************/ #categories_block_left li {border-bottom:1px dotted #ccc} #categories_block_left li.last { border:none;} #categories_block_left li a { display:block; padding:7px 11px 5px 22px; color:#333; background:url(../../../modules/blockcategories/img/arrow_right_2.png) no-repeat 10px 10px transparent } #categories_block_left li ul {margin-left:40px} #categories_block_left li ul li {border:none} #categories_block_left li ul li a { padding-left:0; background:none } #categories_block_left li .OPEN, #categories_block_left li .CLOSE { display:block; float:right; margin:10px 10px 0; height:9px; width:9px; background:url(../../../modules/blockcategories/img/icon/open-close.png) no-repeat 0 -9px; cursor:pointer } #categories_block_left li .CLOSE {background-position:0 0} /* footer */ .blockcategories_footer { padding:15px 10px; } .blockcategories_footer .category_footer {float:left;clear:none;} .blockcategories_footer ul ul {display:none !important} /*************** Block CMS ***************/ /* footer */ #footer .block_various_links {padding:15px 10px;} /* Block CMS links */ .informations_block_left li {border-bottom:1px dotted #eee} .informations_block_left li.last {border:none;} .informations_block_left li a { display:block; padding:7px 11px 5px 22px; color:#333; background:url(../../../modules/blockcms/img/arrow_right_2.png) no-repeat 10px 10px transparent; } tr.subitem > td:first-child + td { padding-left: 10px; } Link to comment Share on other sites More sharing options...
Nepherael Posted April 18, 2014 Author Share Posted April 18, 2014 Thank you very much once again Vekia. I will implement the changes I need and reply back if I have any issues. I will mark this topic solved as soon as I can get the changes implemented. Link to comment Share on other sites More sharing options...
Nepherael Posted April 22, 2014 Author Share Posted April 22, 2014 Hello I have gotten into the file and found the lines you posted but there's one more thing I need addressed. I'd like to make each category appear differently. With different colors and possibly different fonts. I also have a category that contains subcategories and I need each of those to show up as a different color. Is this possible? 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