Archived topic
Logo position not working on Category pages
9 replies · Started by Fatih on November 10, 2016
Hi, I'm having difficulties getting the logo on the left of the site title. I have managed to get it work on all pages except the category pages. I use the following code for this:
.site-branding {
display: inline-block;
}
.site-logo {
float: left;
margin-right: 20px;
}
.site-header .header-image {
width: 60px;
}
.site-branding {
display: inline-block;
}
Like I said, this works on all pages except the category pages.
This is all of the CSS you should need: https://generatepress.com/forums/topic/logo-next-to-site-title/#post-118692
The category page has the site header as every other page, so there shouldn't be a problem there.
Let me know :)
Hi, this is the result that I get with that code https://goo.gl/hFhSX8
@media (min-width:769px) {
.site-branding {
display: inline-block;
}
.site-logo {
float: left;
margin-right: 20px;
}
}
Looks like it's doing the job, you just need to upload a smaller logo so it fits next to the text.
Hah ok that was stupid of me :P But it still doesn't work on the category pages (click on one of the items in the menu).
Are you adding the CSS globally in "Appearance > Simple CSS"?
I'm adding it under Appearance > Edit CSS. There is no option that I'm aware of.
It doesn't seem to be including the CSS on other pages.
Can you try this CSS plugin instead?: https://wordpress.org/plugins/simple-css/
Yes, that seems to fix the problem. Thank you for the awesome support.
You're welcome :)