Jump to content
thirty bees forum

[CSS] How to change text-align property for subcategory titles only?


Recommended Posts


The following code allows the title of categories to be alligned in the center of the page (horizontally):

h1.product-listing {
  text-align: center;

But, how to apply this custom CSS for the subcategories (subsequent levels) ONLY? Not for categories (first level).


  • HOUSE (default, not centered)
    • Furnitures (centered)
      • Chairs (centered)
      • Tables (centered)


Edited by MaxStrax
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...