Jump to content


Photo
- - - - -

Center Custom Logo

logo custom css center

Best Answer batman , 13 January 2013 - 11:40 PM

Hi Taylor

You can try add in

PageLines > Site Options > Custom Code > CSS Rules

or in

Pagelines Customize (plugin)

 
.section-branding .mainlogo-link, .section-branding .mainlogo-img { margin: 0 auto;}

It is advisable to learn how to do this on your own too.  

Check out 

http://support.pagel...ion/custom-css/

 

If you need more CSS help, make sure you've downloaded Firebug for Firefox

and check out W3 Schools for more info. 

http://www.w3schools.com/

Go to the full post


  • Please log in to reply
4 replies to this topic

#1 taylorashley

taylorashley

    Member

  • Members
  • 11 posts
  • Country: Country Flag

Posted 13 January 2013 - 11:16 PM

Hi, 

 

I'm trying to center a custom logo in the header of this website: 

Please Login or Register to see this Hidden Content

 

I was able to center the nav classic with custom CSS code but have been unable to center the logo with CSS code I've found that already exists in the forums. 

 

Any help is much appreciated!

 

Thanks, 

Taylor



#2 batman

batman

    Bat Learning

  • Members

  • 2111 posts
  • LocationBuenos Aires, Argentina
  • Framework Version:DMS
  • Country: Country Flag

Posted 13 January 2013 - 11:40 PM   Best Answer

Hi Taylor

You can try add in

PageLines > Site Options > Custom Code > CSS Rules

or in

Pagelines Customize (plugin)

Please Login or Register to see this Hidden Content

It is advisable to learn how to do this on your own too.  

Check out 

Please Login or Register to see this Hidden Content

 

If you need more CSS help, make sure you've downloaded Firebug for Firefox

and check out W3 Schools for more info. 

Please Login or Register to see this Hidden Content


  • taylorashley likes this

#3 taylorashley

taylorashley

    Member

  • Members
  • 11 posts
  • Country: Country Flag

Posted 16 January 2013 - 03:58 AM

I tried adding the code to the Custom CSS Rules and it did not center the logo. Any other suggestions?



#4 James B

James B

    Advocate

  • Members

  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 16 January 2013 - 04:42 AM

Hi there, I'm getting a result on centering the nav using firebug using the same code as Batman. If you have any other css in the custom code box check that its working and has the correct closing bracket etc, anything broken above with stop the css below from working.


  • taylorashley likes this

#5 taylorashley

taylorashley

    Member

  • Members
  • 11 posts
  • Country: Country Flag

Posted 18 January 2013 - 07:15 PM

I inserted the code above what is existing. Problem solved--thanks guys!







Also tagged with one or more of these keywords: logo, custom, css, center