• Resolved xceller8

    (@xceller8)


    Hello,

    I’ve been exploring ways to have different backgrounds for different Pages in the Sharpfolio theme I am currently using. With my very limited knowledge with CSS, I managed to modify the background in the “Style.css” file but it makes it the default background for everything. While this is ok, I’d like to try having different backgrounds for my About, Archives etc. sections. I know theres the Template option that I can assign for Pages, but once again limited knowledge with css and I read a bunch of tutorials leaving me scratching my head. Does anyone know how to do this?

    Here is my work-in-progress page I am working on:
    https://www.ray-ray.ca

    And here’s the line of code I changed for the background in my style.css file:

    body {
    	text-align: center;
    	background: #191919 url('images/bg1d4.jpg') repeat-x top; width: 100% height: 100%
    	color: #FFFFFF;
    	font-family: 'Lucida Grande', Helvetica, Arial, sans-serif;
    	font-size: 11px;
    	line-height: 24px;
    }

    Thanks for reading this and the help. Cheers.

Viewing 3 replies - 16 through 18 (of 18 total)
  • Thanks, it’s jaimeward.com

    there is a style:

    .archive {
    	float: left;
    	width: 295px;
    	margin: 0px 0px 0px 0px;
    	padding: 0px 0px 20px 0px;
    	}

    in style.css;

    inbetween the #contentleft styles more than half way down.

    maybe change it to:

    #wrap .archive {
    	float: left;
    	width: 295px;
    	margin: 0px 0px 0px 0px;
    	padding: 0px 0px 0px 0px;
    	}

    that is likely to keep the style useful if any html tag with the class .archive should appear in the files.

    however, the css class .archive is not even used in the pages that are shifted left.

    That did it! Thank you very much!

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Modifying to have different backgrounds for different posts’ is closed to new replies.