Announcement

Collapse
No announcement yet.

Need Header to Extend Across Page

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Need Header to Extend Across Page

    HEy guys! I'm a noobie and and have a wordpress blog that i've been trying to tinker with. Wordpress really, as far as I know, only gives you unfettered access to php files and css, not html.

    What I am trying to do is extend my heading across the page, kind of like in on this site. the site is spatterblog (can't list the link but if you'll google you'll find it, or just add the .com). I want to know if i can use css to repeat the orange header image across the span of the page? I tried following the advise of one of the other posts with advised to use the following code and two images:

    body{
    background: #000000 url('your-image.png') repeat-x;
    }

    but I still can't get it to work. Any help would be greatly appreciated.

    Squirrel

  • #2
    if you add that code to your body tag, it will work; however, if the style you've added in your header for #page is the code you're using to repeat the header, it won't work because:

    you're targeting #page, which is the wrapper div for your site...it needs to be on the body element...

    you're telling it to repeat-y, which is vertical...you want repeat-x, which is horizontal...

    also, you don't really need to specify top after repeat-x, as it will start at the top anyway...

    hope that helps...
    Monarchs Rule!

    Comment


    • #3
      Thanks!

      Thanks so much! Worked like a charm!

      Comment

      Search

      Collapse

      Advertisement

      Collapse

      Latest Topics

      Collapse

      • TomTom55
        Vintage Typography
        TomTom55
        I worked on this project in my free time, my first real stab at some digital vintage typography design. Any feedback on the design itself?
        Cheers

        https://www.youtube.com/watch?v=e...
        Today, 04:46 AM
      • gurkamaltutu
        Comment on Color separation
        gurkamaltutu
        Thank you so much! And you were right, I actually didn't understand the question properly.
        Today, 12:44 AM
      • swhit101
        Portfolio or First/Second Year Students?
        swhit101
        Hey, I'm an upcoming second year communications design student, and relatively new to design. I took a design foundation program my first year at school, as well as an intro comm design class. I would...
        Yesterday, 11:15 PM
      • PrintDriver
        Reply to Ad Specs Question
        PrintDriver
        Most places would want you to have the bleed not on the artboard so when the ad is placed, only the ad shows, not all the bleed. If you have the bleed on the artboard, you risk having your art offset...
        Yesterday, 04:18 PM
      • Brodero
        Ad Specs Question
        Brodero
        I have to create a half page ad and am wondering which why would be the preferred method. The requested trim size is 5.5in x 4.5in with a quarter inch bleed on all sides (6in x 5in). Would you rather...
        Yesterday, 04:06 PM

      20% off sale at iStock until June 24, 2016
      GDF A division of Mediabistro Holdings Adweek | Mediabistro | Clio | Film Expo Group Contact Us | Terms of Use | Privacy Policy Copyright 2016 Mediabistro Holdings
      Working...
      X