Ok I see the problem. You have another css file called car-demon.css which is called after the one with the media query and overwrites the rules I gave you.
I suggest you stick another media query at the end of car-demon.css and move the styles that refer to that page from the other media query. It’s probably only the rules I gave you above.
Thanks, got to find which CSS file that is in now lol.
One other thing some of the ribbons on the cars on mobile seem to mess up and just be placed randomly when scrolling down on the Car Inventory, can I had that or get rid of it anyway?
Going to try that, still having trouble finding where abouts the tabs code is for the single cars to remove the inline block lol
After that I believe its done then trying to solve the dropdown navigation. Since its two separate divs for each navigation is there a way to make it into all one dropdown menu for the mobile.
Excellent, I transferred site all over now but noticed that when you go to a single page on mobile devices the main picture does not go full width of the window heres example…
Thanks, but it still same size. Also, is there way to move the thumbnails up to below the main picture on the mobile so its above the content and info about the car.
It depends on where you put it in the style sheet. Generally, it’s safer to put @media rules after the desktop ones. Anyhow, you could force the issue by adding !important:
@media only screen and (max-width: 768px) {
.inventory_photo_box, .car_main_photo_box {
height: auto;
width: 100%[COLOR="#FF0000"] !important[/COLOR];
}
}
Also, is there way to move the thumbnails up to below the main picture on the mobile so its above the content and info about the car.
Not unless you hide the information between the thumbnails and the image, which is not a good idea. You could change the display of that information so that it’s not stacked like currently, which would bring the thumbnails closer. But you can’t change the order of the HTML (well, not yet, anyway, though CSS3 is working on that).
Perfect!!! Had to refresh several times but now it works.
Sega thanks for that I’m going to look into it.
Only issue with that is that can I use it to combine both menus into one menu? This would be ideal if possible is having a dropdown menu on the mobile with both menus inside it. Hope that makes sense lol.
Oh also, noticed little issues that I can seem to solve even adding padding bottom to it on the media queries pages…
Similar thing and I believe we have already covered this issue a few hundred posts back
You are floating the heading at 100% width and therefore the border and padding of any elements below will slide under the float to the top of the containing block unless you have cleared them.
.content{clear:both}
Of course you may be using .content in places where you don’t want to clear floats so either use a new class or check your usage to see if its ok to clear on .content.
On the desktop (at some widths) your menu wraps below the blue line because you have used a massive height and line-height. Just us some top padding instead.