Post by michellemaree » Sun Apr 09, 2017 7:40 pm

Is there anyway to remove or reduce the amount of white space between the price and the add to cart button on list/grid view as well as on the featured products on the home page?
My client is running a product catalogue with an extension that removes prices for any products with a zero pricing so it makes the white space even more dramatic.
You can see the white space on the original basic demo site.
Thanks

Newbie

Posts

Joined
Mon Mar 06, 2017 2:21 pm

Post by viethemes » Mon Apr 10, 2017 6:16 pm

Could you provide your site URL and take a screenshot this problem so we can take a look at it closer?

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by michellemaree2 » Sun Jun 11, 2017 9:00 pm

I had to create a new account as I couldn't reply. Attached is a screenshot of the white space I was talking about. Would love to know if there is a way to minimize it. Haven't found a solution yet.
Image


Posts

Joined
Sun Jun 11, 2017 8:29 pm

Post by sarthakinfotech » Sun Jun 11, 2017 10:21 pm

hi
here for default theme to set the height of the box you may open the stylesheet.css file and goto line 571 and may change min-height property to set the size of the box as per your need. I am also attaching the screen shot from my desktop to explain it better.
Image

Attachments

Capture.jpg

min-height set guideline from sarthakinfotech - Capture.jpg (354.36 KiB) Viewed 5130 times


Good Day,
Jagruti
opencart tips and tricks ,
opencart blogs , opencart extensions/themes , custom development.


User avatar
Active Member

Posts

Joined
Tue Aug 05, 2014 1:12 am
Location - india

Post by michellemaree2 » Mon Jun 12, 2017 5:44 am

Ah thankyou so much! That worked a treat. Much appreciated!


Posts

Joined
Sun Jun 11, 2017 8:29 pm

Post by mohamed.megahed » Thu Jul 13, 2017 10:55 pm

sarthakinfotech wrote:
Sun Jun 11, 2017 10:21 pm
hi
here for default theme to set the height of the box you may open the stylesheet.css file and goto line 571 and may change min-height property to set the size of the box as per your need. I am also attaching the screen shot from my desktop to explain it better.
Image
i tried but nothing changed i dont know which file to edit in step 2 version 2.3.0.2

New member

Posts

Joined
Wed May 17, 2017 10:39 pm

Post by Gobbo » Fri Aug 05, 2022 4:44 pm

Hi,

We're trying to redcue the space on line 571 on the CSS, we update the CSS and nothing happens.

Anyone know the problem?

Hate clearing the browser cache :(

Thanks in adanvce,
Gobbo

Upgraded to opencart version 3.0.3.2


Active Member

Posts

Joined
Tue Jun 22, 2010 12:38 am
Who is online

Users browsing this forum: No registered users and 4 guests