Jump to content


Photo
- - - - -
Resolved

Header In Banner Alignment



Best Answer dokether , 29 November 2012 - 03:30 AM

Change James' recommendation of this:

 
#site .cranky-ads-zone {
float: right;
}

 

To this:

 
#site #branding .cranky-ads-zone {
float: right;
}

 

This puts the "float" on only the cranky ads zone in the top branding bar and will ignore the one in your sidebar.

Go to the full post


  • Please log in to reply
8 replies to this topic

#1 bankrollbuilder

bankrollbuilder

    Member

  • Members
  • 21 posts
  • Framework Version:pagelines pro

Posted 28 November 2012 - 10:22 AM

I used a custom hook to put a banner ad in my header. It works but its not in the right position. it is centered and above my logo and I would like to float it to the right of my logo in the header. heres the link:

Please Login or Register to see this Hidden Content



thanks.

Dan B.


  • FosyLemydem likes this

#2 Danny

Danny

    Is Awesome!

  • Moderators
  • 13234 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 28 November 2012 - 11:29 AM

Hi,

Add the following to your custom CSS:


Please Login or Register to see this Hidden Content


Also add this to:

Please Login or Register to see this Hidden Content



#3 bankrollbuilder

bankrollbuilder

    Member

  • Members
  • 21 posts
  • Framework Version:pagelines pro

Posted 28 November 2012 - 07:03 PM

Thanks Danny,

 

That worked, but it also floated the ad zone to the right on my sidebar.  How would I fix that? 

Please Login or Register to see this Hidden Content

 

Dan



#4 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 28 November 2012 - 07:23 PM

Where is the ad zone supposed to be?



#5 bankrollbuilder

bankrollbuilder

    Member

  • Members
  • 21 posts
  • Framework Version:pagelines pro

Posted 29 November 2012 - 02:08 AM

The ad zone in the header is perfect, I need to correct the one in the sidebar now.  It should be centered in the sidebar, but it is all the way over to the right margin.



#6 James B

James B

    Advocate

  • Moderators
  • 4985 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 29 November 2012 - 02:25 AM

Hi there, add

 

Please Login or Register to see this Hidden Content



#7 bankrollbuilder

bankrollbuilder

    Member

  • Members
  • 21 posts
  • Framework Version:pagelines pro

Posted 29 November 2012 - 03:19 AM

Hi James,

 

Didn't work.  Any other ideas to try?  I appreciate the help by the way.

 

Dan.



#8 dokether

dokether

    Advanced Member

  • Members


  • 30 posts
  • LocationEdmonton, AB
  • Framework Version:2.4.2
  • Country: Country Flag

Posted 29 November 2012 - 03:30 AM   Best Answer

Change James' recommendation of this:

Please Login or Register to see this Hidden Content

 

To this:

Please Login or Register to see this Hidden Content

 

This puts the "float" on only the cranky ads zone in the top branding bar and will ignore the one in your sidebar.



#9 bankrollbuilder

bankrollbuilder

    Member

  • Members
  • 21 posts
  • Framework Version:pagelines pro

Posted 29 November 2012 - 03:35 AM

dokether...your awesomeness abounds and transcends...







Also tagged with one or more of these keywords: Resolved