Need some major help, trying to work with this to make it responsive. Like make the navigation one of the things where you can click then the Navigation pops out etc.
And trying to make it all into one columns but having a hell of a time.
If someone could help me get on my way with this that would be great.
On Chrome on mobile devices on my Samsung S3 it doesnt even scale the website down and I have my meta tag for viewport there and some other pages don’t scale either.
If you remove that min-width then those borders will not go off the screen as they do now (of course you may have put that min-width in there for a reason so you need to check if anything else is affected).
Forms on Service & Parts -> Online Booking and Contact Us are too wide seems to go right too edge or further of the screen
That seems to be the same issue as above with the min-width.
The min-width was a huge issue, never even realized that.
The navigation menu, I can take a look at the link you supplied to work my way to solving it.
Still having major issues with it on landscape mode, the slider still shows and it goes over the navigation. It almost seems like its not reading my media queries.
The major issues though are on the Used Cars page and when you click on a Car Picture going into the single vehicle details.
It looks as though the tabs are not wrapping with the layout and overlapping other content.
Try changing the display to inline-block and see what happens.
ul.tabs li {
display: inline-block;
}
You are floating elements in some places but not containing them properly. make sure where you have a series of floats in a parent that has a background colour that you contain them. e.g. your random_inventory_items are floated but not contained.
Got to work with the search fields on the Used Cars page but that shouldnt be too difficult and figure out some spacing issues looks like theres line right across Used Car Inventory and the sorting icons are over top the pictures. And got to solve the picture issue either by moving the title of the car below the picture and maybe making picture 100% width. Or just making the picture small, what would you recommend? That would be only fixes I can spot for the User Cars page.
One you get into one of the single cars though still got some issues. Should I make the main picture full width and if so how can I add the thumbnails below it and info all below that. And I’ll have to move all the information down (pictures and text) as it is too high cause goes over the checkered pattern. And still got issues with the tabs, not sure what I should do for the single pages with the tabs. Its getting there now though.
The styles still also dont be applying for landscape view on a mobile when I rotate my phone everything becomes a mess.
Still trying to solve some of the issues on the mobile especially when flipping it to landscape mode then the car pages but pretty sure thats just some simple styling issues to make it look correctly for those pages.
Good Morning Paul, just wanted to see if you had chance to take a peak at some of the issues with the responsive stuff on the site especially when flipping phone to landscape.
Which seems to be the one recommended for best results.
You’ll have to point me to the page that is giving you the problem so I can try and test (I assume you are testing on an iphone). I believe ios4 had problems with landscape mode which has since been fixed in latest versions.
For the single cars yo can make the cars go full width like this:
The above are over-rides and should go in the media query for the smaller window width (around 750px).
It’s really a matter of going through each element and changing height and widths and floats to a more suitable arrangement for smaller widths. There is only so much you can do with an existing design because when you start from scratch you can arrange things to work better. You can’t actually change html with media queries so you have to make the best of what you can do.
You will have to point me to one issue at a time (with a link) as I get lost going back up and down the thread trying to work out where I am
When I go to landscape it still shows the slider, my header navigation is messed up somewhat and the footer is messed up, which is on all pages on landscape. Thats what I can notice there on this link…
How can I just have the Picture up top then the title below it, cause right now the title goes over top of the picture. Ad my black divider border goes over top of the title Used Car Inventory so looks like I have to push content down more.
As mentioned, header and Navigation are messed up and the sub nav Complete Care, Online Booking and Shop Capabilities I’d like to stack like how I did on Portrait view for mobile devices.
Basically if I can get all the styles for portrait view to work on landscape view thats what I really need to fix the landscape view then just couple minor issues with the Used Cars and Single Cars as mentioned above.
You have the media query set to max-device width 768px and smartphones are 480px I believe (according to css tricks)
You can try 480px and see if it works for your galaxy.
However, you are going about this the wrong way in that you don’t need to be concerned with device widths as such. You should target the viewport width and just change the design at the places where the design breaks. Desktops in most cases will need the smaller styles when the window is closed and makes the job a little easier overall.
I would use something like this instead of device-width:
@media only screen and (max-width : 768px) {
rules for smaller windows... etc
Then you can adjust for smaller when you see something breaking.
e.g.
@media only screen and (max-width : 480px) {
more rules if needed...
The main point being in that you only apply rules when you notice the layout looking odd or breaking. Just open and close the window until something breaks and then set a media query at that breakpoint and forget about devices. Just make the page scale from small to large and collect everything on the way.
In that case why didn’t you use the same styles as the other page rather than putting them in a separate css file not called on that page? The header styles are here in style.css:
Thanks for all this, looks like everything is working except that one issue with the Used Car Inventory I put in the CSS to drop the title of the car down below it but it didn’t seem to do it when testing on my Samsung everything else seems to work correctly now.