Blask: Centre logo and tagline on mobile devices
-
Hey there,
Just need some help with CSS to centre the logo and tagline on mobile devices for the following website: http://www.alexvardymeers.com. I’m using the Blask theme.
Would really appreciate some help, have been trawling the forums for hours!!
Thanks,
Sarah
The blog I need help with is: (visible only to logged in users)
-
hi @alexvardymeers,
PLEASE PUT BELOW CSS IN TO MY SITES > CUSTOMISE > ADDITIONAL CSS
It will only change the look of the mobile view where screen size is maximum 520px. you can change width size.
@media screen and (max-width:520px){
p.site-description {
text-align: center;
}
}Let me know if it works.
@media screen and (max-width:520px){
.site-logo-link img {
display:block;
margin-left:auto;
margin-right:auto;
}
} -
Thank you so much, it worked fine.
You saved me hours of messing around, really appreciate the help!
-
- The topic ‘Blask: Centre logo and tagline on mobile devices’ is closed to new replies.