person2337 Posted January 30 Posted January 30 (edited) I found CSS to place the site title next to the logo. @media only screen and (min-width: 601px) { .header-title-logo::after { content: "Site Title"; font-size: 45px !important; vertical-align:middle; padding-left: 30px; }} Result: The mobile layout looks bad. I would like it to look something like this: Logo Centered on phone/screen. Title centered underneath. Thanks for any help. Edited January 30 by person2337
tuanphan Posted February 1 Posted February 1 Remove your code & use this new code /* title logo */ .header-title-logo::after { content: "Site Title"; font-size: 45px !important; margin-left: 10px; } .header-title-logo { display: flex; align-items: center; } @media screen and (max-width:767px) { .header-mobile-logo a:after { content: "Site Title"; font-size: 45px !important; margin-left: 10px; text-align: center; } } If it doesn't work, please share link to your site, I can check it again easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment