jancomer Posted February 21, 2020 Share Posted February 21, 2020 Hello there, I'm trying to setup some category pages in my shop but on some pages there is an issue. Some thumbnails are emtpy and they are not nice aligned on the page. I'll attach one good page and one page on which the issue is present. I already searched everywhere to solve it, but I can't find it Who can help me with that, please? My site address is https://www.klaverhand.be Using PS 1.7 and the classic theme Link to comment Share on other sites More sharing options...
MarlexLadag Posted February 22, 2020 Share Posted February 22, 2020 #subcategories ul { display: flex; flex-wrap: wrap; } You can just use flex for that and just adjust the items according to the width. Link to comment Share on other sites More sharing options...
jancomer Posted February 22, 2020 Author Share Posted February 22, 2020 (edited) Thanks. Is it in the theme.css file that I need to change this? I currently have: #subcategories ul li { float: left; width: 50%; text-align: center; color: black; } #subcategories ul li img { margin-bottom: 15px; } Jan Edited February 22, 2020 by jancomer (see edit history) Link to comment Share on other sites More sharing options...
MarlexLadag Posted February 23, 2020 Share Posted February 23, 2020 just add it above that css. Link to comment Share on other sites More sharing options...
jancomer Posted February 23, 2020 Author Share Posted February 23, 2020 #subcategories ul li { display: flex; flex-wrap: wrap; float: left; width: 50%; text-align: center; color: black; } #subcategories ul li img { margin-bottom: 15px; } unfortunately it doesn't solve the issue still the same issue Link to comment Share on other sites More sharing options...
MarlexLadag Posted February 23, 2020 Share Posted February 23, 2020 3 hours ago, jancomer said: #subcategories ul li { display: flex; flex-wrap: wrap; float: left; width: 50%; text-align: center; color: black; } #subcategories ul li img { margin-bottom: 15px; } unfortunately it doesn't solve the issue still the same issue Is this the layout you want to achieve? Link to comment Share on other sites More sharing options...
MarlexLadag Posted February 23, 2020 Share Posted February 23, 2020 Sorry I did not get what you have written. <ul> tag is different from <li> tag. You have to put it in ul tag dude. 1 Link to comment Share on other sites More sharing options...
jancomer Posted February 23, 2020 Author Share Posted February 23, 2020 Thank you so much! It works now. Much appreciated. The issue is solved 🙂 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now