I’m doing a site for my uncle and I have a slight issue. When I visit it on a mobile, the Logo, site title, and navigation bar are all mushed together.
Here’s what it looks like here.
How can I change this in CSS? I’ve looked all over, and I didn’t find any answers. I’ve tried changing the @Media CSS part on style.css
You could try doing:
That should create a gap between the logo and the title should be farther apart. Also if you could include some code in your posts that would be great.
Since the site is currently down and there is no code what so ever, I can at least help you out with how to apply media queries.
This will allow whatever you are styling to be applied on screen that are LESS than 480px wide. You are obviously allowed to put in the desired width you want. This is but an example 🙂
You can read all about media queries here
Hope this helped a bit 🙂
// Marc Hjorth
i use this:
which sets the width of the div based on the size of the screen viewing it, making it easy to design a mobile site without having to design two separate sites.
for example, i’d make a container around certain area, set it as a row with a div and then use columns which change based on screen size
I had quick look at the website.
There is an issue with an empty side bar that pushes the navigation down.
The sidebar with the following id:
id=”sidebar-header”
You should try to disable the sidebar in your theme if you don’t need it.
or you can add a simple css rule to your stylesheet to not display it:
to move the mobile menu you can edit this style rule in style.css on line 2795:
Edit the top and left properties there (add some pixel values like: top: 70px; for example)
I hope this helps.