Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #639079

    Hi there,

    I’m trying to change the background colour of the sidebar for the theme ‘Enfold’ and came across some code in the forum to alter this (#245767). The sidebar for my site is on the left side and I have changed the code accordingly from .container_wrap.sidebar_right to container_wrap.sidebar_left however the background red colour for the side bar shows up on the right hand side.

    Following is a link to see what is happening http://ambassadortravel.com.au/new/index.php/home/2016-kentucky-derby-racing-tour-tour-description/ and below is the code used and placed in the custom.css file. Could someone please advise how I can get a background colour for the sidebar to show correctly. Any advice would be appreciated.

    @media only screen and (min-width: 768px) {
    .container_wrap.sidebar_right{
    background:-webkit-gradient(linear,right top,left top,color-stop(red,0.295),color-stop(white,0));
    background:-webkit-linear-gradient(right, red 29.5%, white 0%);
    background: -moz-linear-gradient(right, red 29.5%, white 0%);
    background: -o-linear-gradient(right, red 29.5%, white 0%);
    background: linear-gradient(right, red 29.5%, white 0%);
    }
    }

    #639087

    Hey steffen_aufatz,

    Thanks for getting in touch with us!

    Where in the code right appears, you need to change the word to left. So the above code should look like the following instead:

    @media only screen and (min-width: 768px) {
    .container_wrap.sidebar_left{
    background:-webkit-gradient(linear,right top,left top,color-stop(red,0.295),color-stop(white,0));
    background:-webkit-linear-gradient(left, red 29.5%, white 0%);
    background: -moz-linear-gradient(left, red 29.5%, white 0%);
    background: -o-linear-gradient(left, red 29.5%, white 0%);
    background: linear-gradient(left, red 29.5%, white 0%);
    }
    }

    Just copy and paste the above code and see if it helps.

    Best regards,
    Jordan

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.