Jump to content

2 product columns for mobile? (SP HiMarket)


Megan_SnapByte

Recommended Posts

15 minutes ago, Knowband Plugins said:

Checked your website but seems you have managed to do so :)

 

 

 

Hi there 

Yes, sort of. The "Add to cart" Button is however not center and shows two columns for first page. Thereafter it shows one column again. 

Would you know why? Or be able to assist?

ffb3e4eb-ae74-431a-90df-ec742fdd0249.jpg

Edited by Megan_SnapByte (see edit history)
Link to comment
Share on other sites

Hi,

From CSS perspective button are already in the center. There is some padding on the left (in the theme) & buttons are wider than available space which is causing the issue. Either reduce the width of the button OR remove the padding from the left.

To remove the padding from the left, Make the following changes in the theme css file.

Search for .product-miniature .product-container in the CSS file & remove the line mentioned below.

Padding: 9px 9px

Also search for the .product-miniature .product-info in the CSS file & replace 

padding:20px 10px

to

padding:20px 8px

 

Hope it will help. (Refresh the browser cache & CSS cache from the backend).

 


 

Link to comment
Share on other sites

It did indeed. Once again, Thank you! 

If you are able to help me, again. Please see my next problem. 
It shows perfect with list view, now my other problem is with List view. (See images attached.) 

I have found the coding for the list & grid view in the custom.js file (See attached.) is there a way a can just disable the list view all-together or what settings do I adjust to show the list view properly?

 

Thank You :) 

image.png

image.png

99f52427-f5fd-472e-bbdc-87d28e670085.jpg

Link to comment
Share on other sites

  • 1 year later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...