Social Icons/Button Displaying Incorrectly on Mobile
frostii
Registered Users Posts: 16 Big grins
Hi all, I am currently experiencing some home page alignment issues on mobile. On larger screens, my logo, custom button & social icons are left aligned, which is as I require; however, when looking at my site on mobile the logo is centred, the button right aligned and the social icons left aligned.
https://www.chrisfrostphotography.co.uk/
I am keen to have them all centred on mobile if possible, at least for portrait orientation, but have struggled to find the correct CSS code to make that happen and would be very grateful of any advice please.
Thanks!
Tagged:
0
Comments
Since this is just for your home page, just add a CSS Block to you home page and add this:
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
To add, there is no "Portrait" or "Landscape" orientation as far as CSS mobile devices. For SmugMug, any screen 736px or smaller is a mobile.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
That's awesome Mike - thanks so much for this! I had spent a few hours blindly trying to resolve but this works perfectly.
Sorry Mike, one additional question if possible. Is there a quick way to amend the logo too; it is aligned slightly off centre (slightly right)?
Thanks in advance
Your current logo is NOT centered.
Trim it in Photoshop or similar.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
You can use this. I just trimmed the excess transparency.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Many thanks again Mike!