Jump to content
Sign in to follow this  

background in content

Recommended Posts



I'm using the following code to style the background of content areas on my site. On the blog layout, this leads to the same gradient in the individual post boxes and in the content background. I'd like to remove the styling from the content background just for this page, so the posts 'float' on transparent background. I cannot figure out how to select for just this page?

div#pagelines_content.fullwidth.fix, #contentbox.content, .one-sidebar-right.fix, #carousel .thecarousel, .fslider, .fbox, .hentry


border: 1px;

border-radius: 5px;

margin:12px 0px 10px;

background-color: #f1f1f1;

background-image: -moz-linear-gradient(top,#ffffff,#dcdcdc);

background-image: -ms-linear-gradient(top,#ffffff,#dcdcdc);

background-image: -webkit-gradient(linear,0 0,0 100%,from(#ffffff),to(#dcdcdc));

background-image: -webkit-linear-gradient(top,#ffffff,#dcdcdc);

background-image: -o-linear-gradient(top,#ffffff,#dcdcdc);

background-image: linear-gradient(top,#ffffff,#dcdcdc);

background-repeat: repeat-x;

filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#dcdcdc', GradientType=0);

border-top: 1px solid #dcdcdc;

color: rgba(0,0,0,0.6);




Share this post

Link to post
Share on other sites


If I understand you correctly, add this to your custom CSS and it should resolve your issue.

.blog #site #pagelines_content {
background: transparent;
border-color: transparent;

  • Like 1

Please search our forums, before posting!

Share this post

Link to post
Share on other sites

sweet. that worked. resolved I'd say!

Share this post

Link to post
Share on other sites

The topic was marked as resolved.

Please search our forums, before posting!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • nandorj78
      By nandorj78+
      I'd like to request a section (or that this could be enabled on the background settings of the existing sections) in which we could set a image to stay fixed, just as we can see in the link below:
      http://www.bootply.com/render/100702 (you can see 2 different background images and everything scrolls on top of it.)
      Is it possible to be done without having to code it via CSS every time?
    • jacobtippett
      By jacobtippett+
      I am trying to get the background image of the Revslider to be clickable and redirect to a link.
      Does anyone know how this is possible?
    • martinjrob
      By martinjrob+
      I am having problems in figuring out how to make the sections transparent so it shows 1 background color, Image.
      I have made all sections with no background colour as it suggests in pagelines docs
      this is the domain name http://www.socialwebservice.co.uk/ and this is how i would like it to look http://ecologysurveysinnorfolk.co.uk/
      Any help will be much appreciated. 
    • abuzzelli
      By abuzzelli+
      Trying to adjust the position of the background image on http://churchofwolves.com/. I need the wolf background to move over to the left on mobile versions so it can be seen. Here's the code I'm using and it's not working. I've tried a bunch of different things. Getting frustrated. Any advice?
      @media (max-width: 768px) { .home .site-wrap{ background: url(http://churchofwolves.com/wp-content/uploads/2015/06/Church-of-Wolves-bkgd1.jpg); -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; background-position: 100% 0%; } }  
    • zetanet
      By zetanet+
      I can insert three text box in a page, of course.
      I'm not able to set three different background colors to each text box.
      I would like a result as the attached picture.
      How do I do this?