Hi there – how can i have the phone number centered on mobile display? I have it set to be left-aligned, next to the social icons, in regular browser view, but it doesn’t center on mobile:
Also – how can i increase the size of the phone number? i tried this code that i found on another thread:
.social_header .phone-info { font-size: 24px; }
#top .social_bookmarks li a { font-size: 21px; }
and it increased the size of the social icons, but not the phone. (yes, i flushed the cache! LOL)
thanks for your help!
Hey!
Try adding this code to the Quick CSS:
@media only screen and (max-width: 767px) {
.phone-info{
text-align: center;
float: none !important;
height:55px;
}
.phone-info span{
position: relative;
left: -12px;
top: 4px;
}
}
To increase the font size of the phone:
.phone-info{
font-size: 18px !important;
}
Cheers!
Josue
Josue – that’s awesome and PERFECT! only one additional request – can i get some padding below the phone number and where the header starts on mobile? see what i mean – it’s very tight right now:
thanks again for such great help, josue!
Change that part of the code to this:
@media only screen and (max-width: 767px) {
.phone-info{
text-align: center;
float: none !important;
height:75px;
}
.phone-info span{
position: relative;
left: -12px;
top: 15px;
}
}
Best regards,
Josue
dude, PERFECT! thank you so much for your help, josue – YOU ROCK!!!!
You are welcome, glad we could help :)
Regards,
Josue