Changing colors in pages main-wrapper
-
Hello everyone,
I am using Customirz theme, i would like to change the color of a spécial part of the pages.
I have found how to change the colors for all my usual pages in th main-wrapper, but for pages who display articles by categories i would like to get a different color.
I would like to use the section article-container for a different color, i was thinking about a function like that to change it in several pages :
<?php
add_action ( ‘main_wrapper’, ‘article_container’)
Function change_background_color ( ) {
if article id.section=(‘page-84’, ‘page-86’, “page-88”, “page-91”);{
background-color: rgba(195, 250, 248, 0.70);
}
}
but as i am not a strong user in PHP and CCS, it don’t work and makes my site fall down.
https://demo.themesandco.com/two-columns-right-sidebar/
I need really your help to go on with this great theme, as i am a newbee in wordpress i will have a lot of work to finish my site.
Thanks so much for your help,
cordially,Michel-G
- The topic ‘Changing colors in pages main-wrapper’ is closed to new replies.