- This topic has 9 replies, 2 voices, and was last updated 6 years, 2 months ago by
Tom.
-
AuthorPosts
-
November 10, 2016 at 4:21 am #243205
Fatih
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.
November 10, 2016 at 9:39 am #243297Tom
Lead DeveloperLead DeveloperThis 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 π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentNovember 10, 2016 at 9:56 am #243308Fatih
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;
}
}November 10, 2016 at 10:12 am #243316Tom
Lead DeveloperLead DeveloperLooks like it’s doing the job, you just need to upload a smaller logo so it fits next to the text.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentNovember 10, 2016 at 10:17 am #243319Fatih
Hah ok that was stupid of me π But it still doesn’t work on the category pages (click on one of the items in the menu).
November 10, 2016 at 10:25 am #243320Tom
Lead DeveloperLead DeveloperAre you adding the CSS globally in “Appearance > Simple CSS”?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentNovember 10, 2016 at 10:28 am #243321Fatih
I’m adding it under Appearance > Edit CSS. There is no option that I’m aware of.
November 10, 2016 at 10:29 am #243322Tom
Lead DeveloperLead DeveloperIt doesn’t seem to be including the CSS on other pages.
Can you try this CSS plugin instead?: https://wordpress.org/plugins/simple-css/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentNovember 10, 2016 at 10:31 am #243324Fatih
Yes, that seems to fix the problem. Thank you for the awesome support.
November 10, 2016 at 10:32 am #243325Tom
Lead DeveloperLead DeveloperYou’re welcome π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.