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

TOPIC: Problem with sidebar-a and sidebar-b position.

Problem with sidebar-a and sidebar-b position. 9 years 10 months ago #9878

I have a problem with this 2 positions. I don´t understand how works fine. I have configurated sidebar-a on the left and sidebar-b on the right, but when i don´t have publish any module in sidebar-b position, the modules that i have publish in sidebar-a(left) change and appears on the right where i have sidebar-b position.

For example, in www.union-bike.com/servicios/tienda-online if you want to see an detail product, the modules "PRODUCTO DEL MES", "CATEGORIAS","NUESTRAS MARCAS" change on the right position(sidebar-b) and i don´t want..

I don´t publish the module "DISTRIBUIDOR OFICIAL" on details product page and the modules change on the right

Thanks
The administrator has disabled public write access.

Problem with sidebar-a and sidebar-b position. 9 years 10 months ago #9892

Hi,

Disregard what you have been told before. I am now providing you a solution that will work in all situations (with/without sidebar-a or sidebar-b)

1- Open this CSS file:
/templates/flexible_coolmart/css/custom.css

and remove this CSS rule:
 #maininner { float: left; }

2- Then open this PHP file:
/templates/flexible_coolmart/layouts/template.php

find the style declaration in that file, and look to screenshot below:

Attachment Pasted_Image_5_21_14__2_04_AM.png not found



include below lines to there.
<?php if ($this['modules']->count('sidebar-b')) : ?>
	#maininner { float:left;}	
<?php endif; ?>

Eventually the style declaration will look like this:

Attachment Pasted_Image_5_21_14__2_08_AM.png not found



TIP: So the #maininner will have float:left rule only if there is a module in sidebar-b position. Which will eliminates all the layout problems.

This solution is tested and confirmed.

Regards,
Support
Last Edit: 9 years 10 months ago by Support.
The administrator has disabled public write access.

Problem with sidebar-a and sidebar-b position. 9 years 10 months ago #9931

The problem is solved.

good support.



thanks
The administrator has disabled public write access.

Problem with sidebar-a and sidebar-b position. 9 years 10 months ago #9942

sure, your welcome.

case solved. topic is closed.

If you like CoolMart and satisfied with the support you have received, please "write a review" on:
www.flexiblewebdesign.com/Joomla-Virtuemart-Templates/CoolMart

Rate CoolMart and write a couple of sentences to share your experience with the support team.
It won't take more than 2 minutes from you but it is extremely important for us.

Thanks in advance!

Regards,
Support
The administrator has disabled public write access.
Time to create page: 0.087 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