Jump to content
Sign in to follow this  
Keith Vaugh

Full width header

Recommended Posts

Keith Vaugh

Hi Folks Is it possible to add some css to create a full width header? (similar to the full width twitter bar i.e the colour background)

Share this post


Link to post
Share on other sites
cmunns

Yeah you could probably even use the fullwidth sidebar and throw that on top...but generally speaking your question is still vague as far as what your specific need is since a header can be a variety of things.

Share this post


Link to post
Share on other sites
Keith Vaugh

Basically I'd like to achieve something similar to what is at the top of this page, i.e. the colour extends across the browser window.

Share this post


Link to post
Share on other sites
catrina

Here is sample CSS that might work:

HEADERSELECTOR {width: 100%; float: left;}

It can be revised further to customize what the header will look like.


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
Keith Vaugh

Thanks Catrina, however it didn't work for me. I'll provide a url a little later, as I thing I have one or two more questions that I will need some assistance with. Thanks

Share this post


Link to post
Share on other sites
kastelic

You can insert an empty div like

[/code] via a hook like pagelines_before_site or pagelines_before_page and then set it like this:
[code] .header-bg{ position:absolute; width:100%; height:100px; background: black; z-index:0 }

May have to play with the z-index a bit.

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  

×