Jump to content

Subcategory text color and background


Recommended Posts

this is block categories module, styles for this module are in the global.css file

 

what to do?

well, you have create styles for each <li> (parent) and for child, for example:

 

parent <li>

#categories_block_left li {background: red;}

 

child <li> <li>

#categories_block_left li li {background: yellow;}

 

 

 

child <li> <li> <li>

#categories_block_left li li li{background: blue;}

 

 

in this case you should also edit the

#categories_block_left  li ul {margin-left:40px}

 

just remove the margin-left param

 

 

effect:

AuRDXb7.png

Link to comment
Share on other sites

Thank you much.

 

this is block categories module, styles for this module are in the global.css file

 

what to do?

well, you have create styles for each <li> (parent) and for child, for example:

 

parent <li>

#categories_block_left li {background: red;}

 

child <li> <li>

#categories_block_left li li {background: yellow;}

 

 

 

child <li> <li> <li>

#categories_block_left li li li{background: blue;}

 

 

in this case you should also edit the

#categories_block_left  li ul {margin-left:40px}

 

just remove the margin-left param

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...