Site not 100% responsive
Site not 100% responsive
Site not 100% responsive
It appears that various elements are having their height set dynamically via javascript, when the viewport width changes. This would probably override any css settings you’ve set. Looking at the code, there’s an embedded iframe, within which there’s javascript like this: var calculateHeight = function (settings) { … The code then calculates a height to … Read more
Add #two-column { width: 100% !important; } To your css, outside of the @media tag. I suggest doing it on the bottom of your css file to be sure nothing overwrites it.
Simply put… You can either add this to the background properties: background-size: contain; This will have the image scale proportionately to consume the available area. Or you can change the image to NOT be a background image. That will allow you to set more relative dimensions (like a fixed height or width with an auto … Read more
Your ‘ul’ element is set to have width of 1000px, and last child ‘li’ element is breaking on new line on some systems because there is not enough space for all elements in one line (one some systems due to font rendering, percentage calculations, etc..) You could make ‘ul’ element 100% wide, and center inner … Read more
Simplest way of doing this would be using Media query. Just make 2 Divs and assign class/id to them like this <div class=”class-1″> </div> <div class=”class-2″> </div> You need to enclose your both the_post_thumbnail() function inside this div like this <div class=”class-1″> <?php the_post_thumbnail( ‘recent-startpage-post’ ); ?> </div> <div class=”class-2″> <?php the_post_thumbnail( ‘recent-startpage-post-hr’ ); ?> … Read more
Disregarding for a moment the comments telling you to avoid user agents (because they are error prone and will probably fail on some devices – as you can see from the constant stream of bug fixes on the plugin), the answer to your narrower question is: it doesn’t matter. If A and B are independent … Read more
You need to set the divs to be 50% via css when by using @media under 1100px. Then they will load at 2 per row. You could also add a class to the code in the separator that it only shows over 1100px and add a 2nd if statement for every 2 that would be … Read more
Hi, For question #1 I don’t see the menu on desktop as you described. For question #2 the menu looks very weird and I can’t think of a quick solution. What did you use to create the menu? Is is the default theme menu?
You can make it responsive by use of Bootstrap framework or by applying media queries into your CSS files.