- Posts: 40
- Thank you received: 0
Products Page Customization
14 years 6 months ago #43762
by kizza2
Products Page Customization was created by kizza2
I was wanting to customise my products page so that there is just a single line between each product like in the attached image. I am new to this and i am just not sure. Thanks
Please Log in or Create an account to join the conversation.
14 years 6 months ago #43881
by nicolas
Replied by nicolas on topic Re: Products Page Customization
What do you mean by "single line" ?
Please Log in or Create an account to join the conversation.
14 years 6 months ago #43888
by kizza2
Replied by kizza2 on topic Re: Products Page Customization
If you have a look at the image i attached i am just wanting a vertical line to the right of each product to separate them.
Please Log in or Create an account to join the conversation.
14 years 6 months ago #43907
by nicolas
Replied by nicolas on topic Re: Products Page Customization
You can add such CSS in the front end CSS file of HikaShop via the Display tab of the configuration:
div.hikashop_subcontainer_border {
border-right: 1px solid #CCC;
}
div.hikashop_subcontainer_border {
border-right: 1px solid #CCC;
}
Please Log in or Create an account to join the conversation.
14 years 6 months ago - 14 years 6 months ago #44247
by kizza2
Replied by kizza2 on topic Re: Products Page Customization
Sorry, I placed that code in the css and it did nothing.
Last edit: 14 years 6 months ago by kizza2. Reason: Wrong info
Please Log in or Create an account to join the conversation.
14 years 6 months ago #44407
by nicolas
Replied by nicolas on topic Re: Products Page Customization
Please make sure that the "custom" front end css is select in that option of the configuration and flush your browser's cache.
Please Log in or Create an account to join the conversation.
14 years 6 months ago #44460
by kizza2
Replied by kizza2 on topic Re: Products Page Customization
I have done that but it is still not working?
Please Log in or Create an account to join the conversation.
14 years 6 months ago #44577
by nicolas
Replied by nicolas on topic Re: Products Page Customization
Could you give a link to your website so that we can see that ?
Please Log in or Create an account to join the conversation.
14 years 6 months ago #44660
by kizza2
Replied by kizza2 on topic Re: Products Page Customization
Thanks Nicolas its
www.trendcommunications.com.au/fsa/index...egory/13-accessories
Please Log in or Create an account to join the conversation.
14 years 5 months ago #44793
by nicolas
Replied by nicolas on topic Re: Products Page Customization
Ah yes, that's because the border option of your listing is turned off. If you turn it on that should work.
Alternatively, you can use that CSS:
div.hikashop_subcontainer {
border-right: 1px solid #CCC;
}
Alternatively, you can use that CSS:
div.hikashop_subcontainer {
border-right: 1px solid #CCC;
}
Please Log in or Create an account to join the conversation.
14 years 5 months ago #44839
by kizza2
Replied by kizza2 on topic Re: Products Page Customization
Can you please clarify where the border option of the listing is. I also tried that css and it gives a right border to everything even the items in my vertical scroller. The page displays in three columns so is it possible to just place a line to the left and right of the middle column?
Please Log in or Create an account to join the conversation.
14 years 5 months ago #45047
by nicolas
Replied by nicolas on topic Re: Products Page Customization
That option is located in the hikashop options of the module with the id 101 used on that page to display the products listing. You can edit it via the menu Display->Content modules and you will have the "border" option that you can turn on.
If, you use that CSS, it will only apply to the listing of that page:
#hikashop_category_information_module_101 div.hikashop_subcontainer {
border-right: 1px solid #CCC;
}
You won't be able to apply the border on the middle column only with just CSS. You will have to edit the file "listing_div" of the view "product" via the menu Display->Views and change the line:
<div class="hikashop_product" style="width:<?php echo $width;?>%;">
to:
<div class="hikashop_product hikashop_product_column_<?php echo $current_column; ?>" style="width:<?php echo $width;?>%;">
so that you can use the CSS:
div.hikashop_subcontainer .hikashop_product_column_1 {
border-right: 1px solid #CCC;
border-left: 1px solid #CCC;
}
If, you use that CSS, it will only apply to the listing of that page:
#hikashop_category_information_module_101 div.hikashop_subcontainer {
border-right: 1px solid #CCC;
}
You won't be able to apply the border on the middle column only with just CSS. You will have to edit the file "listing_div" of the view "product" via the menu Display->Views and change the line:
<div class="hikashop_product" style="width:<?php echo $width;?>%;">
to:
<div class="hikashop_product hikashop_product_column_<?php echo $current_column; ?>" style="width:<?php echo $width;?>%;">
so that you can use the CSS:
div.hikashop_subcontainer .hikashop_product_column_1 {
border-right: 1px solid #CCC;
border-left: 1px solid #CCC;
}
Please Log in or Create an account to join the conversation.
Time to create page: 0.251 seconds