Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #383459

    Hi,

    I have some css in a code block (see below) that changes the background color for a page. It looks great, however in the mobile view, the borders on each side are a different color.

    <style type = “text/css”>
    #main .main_color .container { background: #c3d2d5!important; }
    </style>

    Can you suggest a way to make the whole page in mobile view the same color?

    Many thanks!

    -Pelyon

    #383986

    Hi Jason!

    Send us a link to your page and we’ll take a look.

    Regards,
    Elliott

    #384041

    Hi Elliot,

    Thanks for the reply. A link to one of the effected pages is below.

    http://billrusselldesign.com/sr_volunteers/home/volunteer-opportunities/san-rafael-clean/

    Thanks for your assistance,

    Best regards,

    Pelyon

    #384635

    Hi!

    Try changing your CSS to this.

    #main .main_color .container, .main_color {
      background: none repeat scroll 0 0 #c3d2d5 !important;
    }

    Best regards,
    Elliott

    #384699

    Thanks Elliott, that did the trick.

    -Pelyon

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘background color in mobile view using code block’ is closed to new replies.