I am new to theme customization and Firebugs but I make several of customization in my themes until now,
but I have often the same common problem, sometimes I want to set some CSS properties into specific pages only.
- Example1:
I want to hide the "Product category txt" when I insert products into the homepage;
(http://vestiges.ca/ The text before products: "...Après plusieurs heures de travail..."
So, I can use this code:
.term-description {
display: none;
But I would like to affect only the homepage (www.vestiges.ca), I don't want to hide it In the "Product category page" too.
-----------------------------------------------------------------------------------
- Example2
I want to change the price font size and weight into the category overview pages like this:
#top .price, #top .price span, #top del, #top ins {
font-size: 12px;
font-weight: normal;
line-height: 18px;
}
...But I don't want to the same thing into the single product page,
I want to have other CSS properties for single product pages like:
font-size: 16px;
font-weight: bold;
-----------------------------------------------------------------------------------
I had already make something similar in Abundance with the help of Devin but I do not really understood how to do it elsewhere
You can add #top.term-bijoux before .sidebar to keep the changes only on that page or #top.tax-product_cat to keep the changes only on category overview pages.
Can you give me some cues about "hot to apply css change" only to one specific page like frontage, Products category page or single product page ?
Thanks !
Alain















