Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - FlexibleMart (SKU# FLEX-00007)

TOPIC: [SOLVED] Quantity boxes are misaligned.

[SOLVED] Quantity boxes are misaligned. 11 years 8 months ago #31

Hello,

I bought flexiblemart and its a great theme.
But i have a problem....
When you go to the product details and you look to the buy now button.... then you see that the buitton is mucht to width...
How can i solve this?

See the attached screendump

Thanx
screenshot.png
Last Edit: 11 years 7 months ago by Support.
The topic has been locked.

Layout 11 years 8 months ago #34

Apparently your joomla template also has some CSS rules for virtuemart section, this is why you are seeing some weird layouts. Can you provide me a live URL to let me investigate your website's source code then i can provide you the solutions to fix those wird layouts.

Cheers
Flexible Support Team.
The topic has been locked.

Layout 11 years 8 months ago #35

Great thanx.
The url is www.imagination-itshop.nl
The topic has been locked.

Layout 11 years 8 months ago #36

Hi,

open this CSS file below
www.imagination-itshop.nl/templates/it_thestore4/css/virtuemart.css

Then find these CSS rules below, and remove them completely.
span.quantity-box {
	float:left;
	width:27px;
	padding-top:0;}
 
input.quantity-input {
	background:#fff;
	height:19px;
	width:25px;
	text-align:center;
	font-weight:700;
	padding:2px;}
	input.quantity-input:hover {}
 
 
span.quantity-controls {
	width:15px;
	float:left;
	padding-top:2px;
	margin:-5px 0 0 10px;}
 
span.quantity-controls input.quantity-controls {
height:14px;
border:none;
width:15px;
}
 
span.quantity-controls input.quantity-plus {
background:url(../images/virtuemart/vmgeneral/quantity-controls.png) repeat-x;
margin-bottom:2px;
cursor:pointer;
}
 
span.quantity-controls input.quantity-minus {
background:url(../images/virtuemart/vmgeneral/quantity-controls.png) repeat-x;
background-position:15px 0;
cursor:pointer;
 
}


THEN FIND THIS CSS RULE BELOW:
.productdetails-view .addtocart-bar {
	margin:12px 0 0;
	padding:10px 0 0 80px;
	border-top: 1px solid #fff;
	box-shadow:0 -1px 0 #D1D1C0;
}

AND CHANGE IT WITH THIS:
.productdetails-view .addtocart-bar {
	margin:12px 0 0;
 
	border-top: 1px solid #fff;
	box-shadow:0 -1px 0 #D1D1C0;
}

THE RESULT WIL BE:
ScreenShot2012-07-29at6.45.55PM.png




if you ever see any corrupted layout in anywhere else., you can fix those CSS issues by editing these CSS files:
www.imagination-itshop.nl/templates/it_thestore4/css/virtuemart.css
AND
www.imagination-itshop.nl/templates/it_thestore4/html/com_virtuemart/assets/css/flexibleVM2Global.css

To Investigate corrupted DIV or SPAN element, use "Mozilla Firefox - Firebug Plugin", this plugin will let you know which CSS rule is controlling that element and what you can do to fix it.
The topic has been locked.

Layout 11 years 8 months ago #38

Great!!

You are the best.
I'm very glad that you solved this issue for me.

Thanx for your great support!

Greetz Hans
The topic has been locked.

Layout 11 years 8 months ago #42

Your welcome.

Flexible Support Team.
The topic has been locked.
Time to create page: 0.081 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo