Formatting and Spacing looks ugly on smallish screens
naomimaya
Registered Users Posts: 32 Big grins
I'm redoing my site (changing from fixed to stretchy theme) but I don't like how the paragraphs look long and narrow for small screens/tablets (seems like anything between about 800 and 1280px wide for example, looks bad. Can anyone help me change this?
Page I'm working on: www. naomimaya.com/Espa%C3%B1ol
For example, the two paragraphs which start "meet Naomi" and "my philosophy" have spacers on the side in order to center the content, but I don't want those spacers there on screens smaller than 1280px. I want it full frame.
I also don't like the spacers above and below the paragraphs on mobile sites. (for example, the space above "meet naomi" and above "family portrait photography" have too much space above them on mobile.
Thanks,
Naomi
Page I'm working on: www. naomimaya.com/Espa%C3%B1ol
For example, the two paragraphs which start "meet Naomi" and "my philosophy" have spacers on the side in order to center the content, but I don't want those spacers there on screens smaller than 1280px. I want it full frame.
I also don't like the spacers above and below the paragraphs on mobile sites. (for example, the space above "meet naomi" and above "family portrait photography" have too much space above them on mobile.
Thanks,
Naomi
0
Comments
Your link doesn't work.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
The weird bit is a Spanish N... which got automatically changed too. Try this: naomimaya.com/Español
That link doesn't work for me either.
@Hikin' Mike it appears that you can access that page from a link in the navbar at the bottom of the page.
Musings & ramblings at https://denisegoldberg.blogspot.com
I'm actually attempting to redo my homepage, but I wanted to keep it "invisible" until I've got it right, then I'll move it. No one ever goes to the spanish page!
Thanks!
Okay, I see it now. One of the drawbacks (IMO) in using block spacers is what you are seeing. An "easy" way is to use a single HTML/CSS block. I would first remove (delete) all of the blocks in that section, to include spacer blocks and your images/content. Then add ONE 'HTML/CSS' block and add this:
HTML:
CSS:
Also, you were using two
<h1>
(titles) on that page. It's best to use one main title (Fine Art Photographer of People and Places) and use<h2>
,<h3>
etc.When your screen reduces to 800px or smaller, you images become centered above your content.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Only one other thing... those two images don't seem to size down for mobile anymore. Is that an easy thing to change? It's not a huge deal but the images seem to be causing side-to-side scrolling on my phone.
Thanks a lot!
Sorry about that. Forgot to 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
Thank you! I hate to be a pain, but it only resizes the width now. If the screen is very small it distorts the images. I think it keeps the height constant? I tried adding "height: auto" but that didn't work.
Sorry, I'm not seeing any issues. I don't own a mobile, but I use something like this: http://quirktools.com/screenfly/#u=https://www.naomimaya.com/Espa%C3%B1ol&w=414&h=736&a=37&s=1
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Thanks for the testing link. It looks good there, only on the screens size 320 and smaller (apple iphone 5 and above on that list) it looks distorted. I guess it's not a big deal, as those are probably the older phones.
You can try adding this to it, but it's tough to troubleshoot something that I'm not seeing.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
I just checked it on Chrome (I use Firefox) and I can see it. Let me see if I can fix it.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Try this instead.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Thanks for your continued help, Mike.
Unfortunately, this isn't resizing down either. I've tried a bunch of minor changes too, just googling css stuff, but nothing worked.
I also noticed that the links on the page aren't working, and the text can't be copied or highlighted... which is weird because the whole page is like that, not just this html block. Could it be that the html/css is incompatible with another tutorial I used on this page? I implemented this: https://portal.photom.me/portal/add-full-width-image-to-your-smugmug-site-with-text-andor-button-over-it/ on that page which worked by itself, but not now.
Stumped.
What images are not resizing? I need a screen shot as I'm not seeing any issues with the resizing.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
In your HTML section, remove this line:
<img src="/img/spacer.gif" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;">
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Thanks again! That fixed my link issues.
I'm just stuck on the resizing of those two images still.... I am checking the screen sizing on here http://quirktools.com/screenfly/#u=https://www.naomimaya.com/Espa%C3%B1ol&w=240&h=320&a=31&s=1 for example, the first six options on the mobile drop down menu show the issue. It's most extreme on the smallest screens.
Thanks!
here's the screenshot
I have found out that those try to replicate mobiles, but sometimes they don't do so good. This is one of those cases. My default browser is Firefox (Win 7) and it works fine. Using IE11, I can see it. Quit possible the real device is fine.
I really doubt people are using those small devices these days.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk