How to fix a non-responsive image in a page
-
Hi, I am trying to create a mini website on pages in my WordPress site. That is, three related pages that have an extra, html-based menu between them for navigation. Everything works fine when viewed through desktop browser. But when viewed through a mobile browser (e.g. phone) the page content isn’t responsive. Thus the viewer sees the main WP site shrunk to about 1/3 of the browser width, and the page content in 100% of the width.
This is hard to describe, so please have a look at:
https://santa-elena.org/reelect-pedro-menendez (which is ‘home’ in the yellow site-within-a-site menu) and the two other pages, ‘bio’ and ‘platform’.I believe this issue is related to some CSS I’ve used on just these three pages, not the theme (which was adapted from twenty-twelve.) Normally the site scales just fine. However I cannot figure out how to get these particular pages to look like they do full-sized and also be responsive. I have tried sizing the background img using max-width instead of width, however the result is a cropped image, not the complete image scaled to the viewport.
Thanks for any ideas and help.
- The topic ‘How to fix a non-responsive image in a page’ is closed to new replies.