This topic has 6 replies, 2 voices, and was last updated 8 years, 5 months ago ago by Eva Kemp
The table showing items in cart in the checkout portion of the theme do not scale at mobile size.
Here is an image illustrating this problem:
I found a very simple alteration in the code that would fix this problem.
Here is a screen shot of the alteration using developer tools:
<img src=”http://everybodycolors.com/images/resizedTableExample.png
” alt=”Resized Table Example” />
All I did was change that one element of that specific css selector from “nowrap” to “wrap” and it makes the table completely responsive, even at mobile screen sizes.
I tried adding this code to my custom css:
@media only screen (max-width: 767px){
.table-responsive>.table>thead>tr>th,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>td {
white-space: wrap !important;
}}
But it doesn’t seem to solve the problem or do what I would expect it to do. Any idea why? Thanks!
Clicking the edit link to fix those image tags that I put in that post takes me to a pretty much empty page. How do I edit that?
This is how they’re supposed to be:
Here is an image illustrating this problem:
Here is a screen shot of the alteration using developer tools:
Hello,
Please provide us with FTP credentials in Private Content.
Regards,
Eva Kemp.
Are you thinking of just changing the code in https://everybodycolors.com/wp-content/themes/woopress/css/bootstrap.min.css directly? If so I can do that, but I was hoping there was a way to change it in my child theme’s style sheet so that when a new version of the theme is installed it doesn’t get overwritten. Or is there some other way to ensure the alteration survives updates?
I have changed the code in https://everybodycolors.com/wp-content/themes/woopress/css/bootstrap.min.css directly for now because the site had to go live this morning. Let me know if you know if this is a problem or if there is any way to change that wont get overwritten by a theme update. Thanks!
Hello,
We don’t recommend to make changes in the file bootstrap.min.css. This is default bootstrap file and you may corrupt some styling for responsive design.
Please look at the screenshot:
http://storage3.static.itmages.com/i/15/1116/h_1447711892_9360812_baf39ea8c3.png
As you can see there is a scroll bar to view all information in the table.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up