Im using foundation 5 and getting a horizontal scroll on bottom of the page on smaller screen anything below iPad.im trying to figure out what is causing this only obvious thing i could notice was the navigation shifting not sure how to go about it to fixing it im sure its something i have missed out or i have done it wrong.
Link to see the issue here , if you resize browser you will start seeing a horizontal scroll below the page.
Those styles I highlighted above are still there, on line 134 of foundation.css. Comment out those lines and clear your browser cache. Trust me, it works.
You shouldn’t really alter that .row .row class as that is part of foundations structure.
The real problem is that you have nested a row inside a row without it being in a column. Nested rows get a negative margin to offset the padding on the column class and if you don’t use a column then the nested row gets dragged too wide. If you aren’t using a column then you don’t need the row.
When you are using a grid layout like foundation or bootstrap then you must stick rigidly to the rules.
A row element should be immediately be followed by a column classed element and the same for nested rows which themmselves must be inside a column class (or columns class).
Be careful though as it will break the foundation functionality. You should never need to alter their grid structure rules as they all work together.
It’s pretty simple in that you have a row then you follow it with a column. Any nested rows must be inside that column and also have a first child of column. Any other structure makes no sense and you may as well drop the grid altogether if you are going to make changes to its core behaviour.
Examples of the foundation grid structure from the foundation docs:
I can see benefits of frameworks for medium to large sites for experienced coders but they (frameworks) do seem to attract those without the necessary experience to cope with the process of using and adapting them. For smaller sites there’s really no need to use them unless you are prepared to strip them down and use just what you need but by the time you’ve done that you could have coded the site from scratch anyway.