• Hill all,

    Please advise how to change the background color of pages (not the whole website) using HTML and CSS ?

    Thanks

    Regards

Viewing 3 replies - 16 through 18 (of 18 total)
  • @satimis i was just providing a general idea of how targeting a specific page works– the exact code will depend on the theme you’re using. if you provide the url of the site you’re working on, i’ll probably be able to give you the css you need to make it work.

    Thread Starter satimis

    (@satimis)

    Hi modoseyoum,

    URL
    https://asia.tours-video.com/central-asia/

    Theme
    Twenty Eleven (with rotating header photos)

    I’m now struggling to set the page margin. The page margin on both sides is too big. How to reduce it? Thanks

    Regards

    Thread Starter satimis

    (@satimis)

    Hi modoseyoum,

    Again;

    Adding following codes on Additional CSS;
    .singular .entry-header, .singular .entry-content, .singular footer.entry-meta, .singular

    #comments-title {

    margin: 5;
    width: 95%;

    }

    It works. Is there a better way?

    Regards

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘How to change the background color of pages’ is closed to new replies.