Add logo next to title
-
Hi,
I would like to know if it’s possible to add my logo next to my web page title (Golfheure) in my header menu when you land on my site.
I would also like to control the size (pixel) of my logo when it will be next to my title.
Thank you for your help!
The blog I need help with is: (visible only to logged in users)
-
Hey there!
That can be done with some custom CSS. Would mind sharing the link of the logo you’d like to use? And would you like it on the right or the left of the text?
Let me know,
Sage -
I just resolved the problem 2 minutes ago.
Thank for your help!
These are my codes:
.site-logo {
margin: 0 auto;
width: 70px;
height: auto;
position: absolute;
left: 25px;
top: 12px
}.site-description,
.site-title {
text-align: center;
} -
-
Hey there,
Glad to hear you were able to get it sorted!
Adding something like this should help for mobile:
@media screen and (max-width: 1020px) { .site-logo { position: relative; left: 0; } }Let me know if that doesn’t work!
Sage -
I’ve just tried to add your code at the begining of my CSS.
So now, I’ve got something like this:
@media screen and (max-width: 1020px) { .site-logo { position: relative; left: 0; } } .site-logo { margin: 0 auto; width: 70px; height: auto; position: absolute; left: 25px; top: 12px; } .site-description, .site-title { text-align: center; }The problem is:
1. It doesn’t make any difference on my mobile web page. Maybe there is something wrong about my code?
2. If I erase my codes, my logo appears to be on the top on my site title and the height of my header is increased.
Thank you very much for your help!
-
Hey there!
Would you mind placing my code underneath yours?
Let me know if that doesn’t work,
Sage -
-
- The topic ‘Add logo next to title’ is closed to new replies.
