Skinning a specific page with its own CSS

Ha anyone ever tried to skin a specific page within cs-cart with its own CSS separately from the other pages?



How and where would you insert the statement : “if page id = X then CSS of page X is…”

hi gugga7

in 1.3.5 I use this method Idon’t know if works for 2.1.x

work for me to:

attibut css background for parent category and apply the same colour for the sub category product list and in the same time to de product detail.



or if you have only 1 parent category with no sub category



and a t the botom is to apply only to the checkout I think is possible to apply to specific page.



I interesting too , to know any clean metod for 2.1.4



saludos :slight_smile:


```php {if $category_data.category_id == ‘38’ || $product.main_category == ‘38’ || $category_data.category_id == ‘57’ || $product.main_category == ‘57’|| $category_data.category_id == ‘58’ || $product.main_category == ‘58’}


{elseif $category_data.category_id == '39' || $product.main_category == '39' || $category_data.category_id == '59' || $product.main_category == '59'|| $category_data.category_id == '60' || $product.main_category == '60'}

{elseif $category_data.category_id == '42' || $product.main_category == '42'}

{elseif $category_data.category_id == '41' || $product.main_category == '41'}

{elseif $category_data.category_id == '40' || $product.main_category == '40'}

{elseif $category_data.category_id == '66' || $product.main_category == '66'}

{/if}
{if $content == "checkout"}

{/if} ```

Hello Mototropic,



Thanks for sharing the method for 1.3.5 :wink:



anyone using this for 2.1.4?