× Support for Joomla 2.5 templates is discontinued. This forum category is read-only.

featured products in HP in 2 colums

More
6 years 9 months ago #2738 by mirkozax
mirkozax created the topic: featured products in HP in 2 colums
Hi, how I can put in position content-bot, in HP, a featured prodcuts category in 2 columns ?
thanks
Attachments:

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #2740 by marcin
marcin replied the topic: Re: featured products in HP in 2 colums
Hello,

Some modifications of CSS styles will be needed.
You will have to change these styles (modules.css line 516th):
.mod_djc_items .mod_djc_item {
    display: inline-block;
    width: 100%;
}

to:
.mod_djc_items .mod_djc_item {
    float: left;
    width: 49.9%;
    margin-left: 25px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.mod_djc_items .mod_djc_item:first-child {
    margin: 0;
}

Regards,
Marcin

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #2741 by mirkozax
mirkozax replied the topic: Re: featured products in HP in 2 colums
sorry but don't work
Attachments:

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #2742 by marcin
marcin replied the topic: Re: featured products in HP in 2 colums
Hello,

Please note, that module shows items in one column by default and this is only css hack that may not work correctly.
You can try with these styles:
.mod_djc_items .mod_djc_item {
    float: left;
    width: 49.9%;
    padding-left: 25px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.djc_items.mod_djc_items {
    margin-left: -25px;
}

Regards,
Marcin

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #2743 by mirkozax
mirkozax replied the topic: Re: featured products in HP in 2 colums
GREAT, now working !
Thanks again Marcin
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.231 seconds

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2019 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.