Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Two divs 100% width only on the right

  • This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #191543
    jknetdesign
    Participant

    Here’s a link to the design concept image.
    http://heisingerrealestate.com/homepage.jpg

    The designer would like the green nav and the white footer to extend past the wrapper. Any ideas?

    http://heisingerrealestate.com/

    #191555
    Paulie_D
    Member

    The designer would like the green nav and the white footer to extend past the wrapper. Any ideas?

    Is the ‘grey’ area, the wrapper?

    But yes, looks like an excellent place to use pseudo elements.

    http://codepen.io/Paulie-D/pen/XJjpbp

    #191568
    Paulie_D
    Member

    Hmm…except something isn’t working on the above in the ‘reduced view’ embed.

    Works OK on desktop though.

    Hmmm

    Size of the shadow?

    http://codepen.io/Paulie-D/pen/azmpGY

    #191586
    jknetdesign
    Participant

    Thank you Kwerty, but I applied your styles and no difference. I only need this effect on desktop. The wrapper is is just the main container within the body that has a max width of 1200px.

    #191591
    Paulie_D
    Member

    And my version, with a pseudo element?

    #192397
    jknetdesign
    Participant

    I was out of town for he holidays. Paulie, what’s the first step towards applying your pseudo? Kwerty, here’s the link to the site where I applied your CSS http://heisingerrealestate.com

    #192399
    Paulie_D
    Member

    Well the code is here

    http://codepen.io/Paulie-D/pen/XJjpbp

    Identify the element that’s going to have this ‘overlap’…give it position:relative if it doesn’t have it already and then use the the pseudo element as I demo’d above. swapping out your IDs or classes as required.

    #192401
    jknetdesign
    Participant

    Now I see how the drop shadow works. Are you saying I don’t need this entire rule set? #navigation ul.nav:after

    The box shadow property is set to 50px 0 0 0 #75aa42
    How do I allow for a 100% width? I tried 999px in Firebug but when it’s applied in the CSS it’s not the same result.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘CSS’ is closed to new topics and replies.