[solved] align price on carousel
- nico.van.leeuwen
-
Topic Author
- Offline
Less
More
9 years 1 month ago - 9 years 1 month ago #279024
by nico.van.leeuwen
[solved] align price on carousel was created by nico.van.leeuwen
-- url of the page with the problem -- :
www.heemskerk-kantoormeubelen.nl/
-- HikaShop version -- : 3.2.0
-- Joomla version -- : 3.8.0
-- PHP version -- : 7.1.9
Hi,
I'm trying to get the price in the carousel back into the center but have some trouble finding the right selector.
The name and other fields are OK, it's just the price that is giving me trouble.
Any help / tips is appreciated because it's looking a bit strange now
Nico
-- HikaShop version -- : 3.2.0
-- Joomla version -- : 3.8.0
-- PHP version -- : 7.1.9
Hi,
I'm trying to get the price in the carousel back into the center but have some trouble finding the right selector.
The name and other fields are OK, it's just the price that is giving me trouble.
Any help / tips is appreciated because it's looking a bit strange now
Nico
Last edit: 9 years 1 month ago by nico.van.leeuwen.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
9 years 1 month ago #279033
by Mohamed Thelji
Replied by Mohamed Thelji on topic align price on carousel
Hello Nico,
Your issue is actually coming from that CSS code in the file "media/com_hikashop/css/frontend_custom.css" that you can probably edit via "Hikashop->System->Configuration->Display->CSS":
www.hikashop.com/support/documentation/1...the-display.html#css
Your issue is actually coming from that CSS code in the file "media/com_hikashop/css/frontend_custom.css" that you can probably edit via "Hikashop->System->Configuration->Display->CSS":
Code:
.hikashop_product_price_full {
text-align: right;
}
Please Log in or Create an account to join the conversation.
- nico.van.leeuwen
-
Topic Author
- Offline
9 years 1 month ago #279080
by nico.van.leeuwen
Replied by nico.van.leeuwen on topic align price on carousel
Hello Mohamed,
Thanks, that fixes the alignments of the price.
Strange thing is that I thought the alignment of the text "excl. BTW" would be fixed by adding something like : PRICE_AFTER_TAX="<span class='carcenter'> excl.- BTW</span>" in the language override but this does not seem to do the trick.
Did I think wrong ?
Thanks, that fixes the alignments of the price.
Strange thing is that I thought the alignment of the text "excl. BTW" would be fixed by adding something like : PRICE_AFTER_TAX="<span class='carcenter'> excl.- BTW</span>" in the language override but this does not seem to do the trick.
Did I think wrong ?
Please Log in or Create an account to join the conversation.
9 years 1 month ago #279086
by nicolas
Replied by nicolas on topic align price on carousel
Hi,
No, that would only change the alignment of the "excl. BTW" text, not the whole price text. You would have to override both the before and the after with the opening tag in the before and the closing tag in the after to englob everything. And the you would be able to change the alignment with CSS.
But it's easier to directly use CSS on the existing HTML, like Mohamed proposed.
No, that would only change the alignment of the "excl. BTW" text, not the whole price text. You would have to override both the before and the after with the opening tag in the before and the closing tag in the after to englob everything. And the you would be able to change the alignment with CSS.
But it's easier to directly use CSS on the existing HTML, like Mohamed proposed.
Please Log in or Create an account to join the conversation.
- nico.van.leeuwen
-
Topic Author
- Offline
9 years 1 month ago #279271
by nico.van.leeuwen
Replied by nico.van.leeuwen on topic align price on carousel
Thanks,
I used this to make it all center :
.hikashop_carousel_item {text-align: center;}
I used this to make it all center :
.hikashop_carousel_item {text-align: center;}
Please Log in or Create an account to join the conversation.
Time to create page: 0.075 seconds