How do I center my logo?
2015-02-22, 04:52 AM, (This post was last modified: 2015-02-22, 04:58 AM by Big Chief.)
#1
I have my website on WP.
I want to center my logo but can't do it.
I've looked online but non of the codes I tried worked for me.

Theme is aReview.
Reply
2015-02-22, 04:55 AM,
#2
I wouldn't suggest sharing your site on here, But that's up to you.

Any questions related to CPA belong here.
Before posting, make sure you are in the correct section.

I am temporarily absent due to family circumstances.

Reply
2015-02-22, 04:59 AM,
#3
(2015-02-22, 04:55 AM)DutchPride Wrote: I wouldn't suggest sharing your site on here, But that's up to you.

edited, thanks I just thought maybe someone would need to see it to understand how to center the logo.

Still need help guys...
Reply
2015-02-22, 05:02 AM,
#4
(2015-02-22, 04:59 AM)Big Chief Wrote:
(2015-02-22, 04:55 AM)DutchPride Wrote: I wouldn't suggest sharing your site on here, But that's up to you.

edited, thanks I just thought maybe someone would need to see it to understand how to center the logo.

Still need help guys...

I understand, but you don't want people to start messing around with your site.
There are some people who do that.

Any questions related to CPA belong here.
Before posting, make sure you are in the correct section.

I am temporarily absent due to family circumstances.

Reply
2015-02-22, 05:10 AM, (This post was last modified: 2015-02-22, 05:10 AM by AdludumIbrahim.)
#5
I assume this is the theme? http://demo.athemes.com/areview/
I'm also not sure if you're using an image and if the divs change if you use a image instead of text, but based on that demo site I'll give you the css for that, if it's different feel free to get in touch and we'll take a closer look.

Add text-align: center to the .site-branding class in your css.

Does that help?
Reply
2015-02-22, 05:30 AM,
#6
(2015-02-22, 05:10 AM)AdludumIbrahim Wrote: I assume this is the theme? /areview/
I'm also not sure if you're using an image and if the divs change if you use a image instead of text, but based on that demo site I'll give you the css for that, if it's different feel free to get in touch and we'll take a closer look.

Add text-align: center to the .site-branding class in your css.

Does that help?

Yes, you're right. It was a text logo and then I uploaded an image.
Your code didn't change it.

Here is the stracture code from my theme:
Code:
/*--------------------------------------------------------------
Structure
--------------------------------------------------------------*/


.site-header {
    position: center;
    padding: 0 15px;
}

.site-branding {
    padding: 40px 0;
    text-align: center

.site-title {
    font-size: 60px;
    margin: 0 0 15px;

}
.site-title a {
    text-decoration: none;
}
.site-title a {
    color: #fff;

}
Reply
2015-02-22, 05:33 AM, (This post was last modified: 2015-02-22, 05:34 AM by Luciano.)
#7
.site-branding {
text-align:center;
}

Should work. Have a goodnight!

EDIT: didn't see someone else posted the answer already.


[Image: 6YpuE.png]
No Risk, No Money
Reply
2015-02-22, 05:38 AM,
#8
(2015-02-22, 05:33 AM)Snakey Wrote: .site-branding {
text-align:center;
}

Should work. Have a goodnight!

EDIT: didn't see someone else posted the answer already.
Didn't work :(
Reply
2015-02-22, 05:58 AM,
#9
(2015-02-22, 05:38 AM)Big Chief Wrote:
(2015-02-22, 05:33 AM)Snakey Wrote: .site-branding {
text-align:center;
}

Should work. Have a goodnight!

EDIT: didn't see someone else posted the answer already.
Didn't work :(
it should
http://gyazo.com/fe3377b74831e9f6da5eeecf1624a657


[Image: 6YpuE.png]
No Risk, No Money
Reply
2015-02-22, 06:00 AM, (This post was last modified: 2015-02-22, 12:15 PM by AdludumIbrahim.)
#10
Check your PM Big Chief :). We'll sort it out in no time. If my code is not working then it's probably Cache. If it isn't cache then it's something else.

-EDIT-
Here's the solution:
Code:
.site-branding img {
margin-left: auto;
margin-right: auto;
display: block;
}
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Free Logo Generator $chestofloot$ 11 2,379 2016-11-16, 12:33 AM
Last Post: $chestofloot$
  [GET] FREE Logo , Design's, Thems etc.. TEMPLATES FOR A WEBSITE TheDutchLegend 14 3,910 2016-02-22, 11:25 PM
Last Post: evasivesteel
  Any logo designers here?! Need some ideas! Obliviate 7 915 2016-01-27, 04:38 AM
Last Post: OvRey
  AAA Logo 2014 | Pre-Activated Version M!st3r XX 10 1,251 2014-10-17, 02:48 AM
Last Post: M!st3r XX
  [Need] Construction Company Logo fieldy2012 2 517 2014-03-18, 12:37 AM
Last Post: TotalTrue





About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2017 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top