- Posts: 18
- Thank you received: 0
Add to cart button in product view not right
9 years 6 months ago #268172
by noaboa
Add to cart button in product view not right was created by noaboa
Hello,
So the "add to cart" button is alligned in the center under the options field. When there is no chracteristic choosen it aligns correctly.
The margin is the to auto but when i change the margin the button also aligns left in the product listing.
How can I fix that?
Thanks
So the "add to cart" button is alligned in the center under the options field. When there is no chracteristic choosen it aligns correctly.
The margin is the to auto but when i change the margin the button also aligns left in the product listing.
How can I fix that?
Thanks
Please Log in or Create an account to join the conversation.
9 years 6 months ago - 9 years 6 months ago #268218
by Philip
Replied by Philip on topic Add to cart button in product view not right
Hello,
Sorry but I'm not sure to understand your issue, can you explain more precisely your needs or your issue ?
You want modify your Css but you don't succeed ? Or there something that don't fit your display needs ?
In order to better answer you can you provide and Url link to better understand your Css files.
Awaiting news from you.
Regards
Sorry but I'm not sure to understand your issue, can you explain more precisely your needs or your issue ?
You want modify your Css but you don't succeed ? Or there something that don't fit your display needs ?
In order to better answer you can you provide and Url link to better understand your Css files.
Awaiting news from you.
Regards
Last edit: 9 years 6 months ago by Philip.
Please Log in or Create an account to join the conversation.
9 years 6 months ago #268263
by noaboa
Replied by noaboa on topic Add to cart button in product view not right
Hi Philip
The "add to cart" buttom will center itself under the selection field when a characteritic is choosen in the backend . like in the picture.
when there is no characteristics choosen it aligns left under the price and description.
Here's the link: josephinesjewellery.ch.dedi1028.your-ser...e/index.php/braclets
Thnaks in advance.
The "add to cart" buttom will center itself under the selection field when a characteritic is choosen in the backend . like in the picture.
when there is no characteristics choosen it aligns left under the price and description.
Here's the link: josephinesjewellery.ch.dedi1028.your-ser...e/index.php/braclets
Thnaks in advance.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 22
- Thank you received: 0
9 years 6 months ago #268283
by kenny.kang
Replied by kenny.kang on topic Add to cart button in product view not right
I am the same problem after upgrade up 3.0.1
hikashop.bikehome.com.tw/display-all-acc...ies/parts/category/c
hikashop.bikehome.com.tw/display-all-acc...ies/parts/category/c
Please Log in or Create an account to join the conversation.
9 years 6 months ago #268274
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Add to cart button in product view not right
Hello,
I'm sorry but your issue is CSS related and the CSS is coming from your template.
So I'm afraid that outside the limit of our support.
But we do have a documentation page which explain basis of CSS edition :
www.hikashop.com/support/documentation/1...the-display.html#css
Regards,
I'm sorry but your issue is CSS related and the CSS is coming from your template.
So I'm afraid that outside the limit of our support.
But we do have a documentation page which explain basis of CSS edition :
www.hikashop.com/support/documentation/1...the-display.html#css
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
9 years 6 months ago #268349
by noaboa
Replied by noaboa on topic Add to cart button in product view not right
but the problem is, that for both buttons there are only one php file. if i edit the table and add the class or id to it it will apear on the product listing and the productpage. do you understand my problem? I can't change the css beceause if i do it will be applied on both buttons since i cant give both tables a diffrent id or class...
Please Log in or Create an account to join the conversation.
9 years 6 months ago - 9 years 6 months ago #268363
by nicolas
Replied by nicolas on topic Add to cart button in product view not right
Hi,
I'm sorry but you're wrong.
You just have to write the correct CSS so that it applies only to one of both.
For example:
.hikashop_products_listing .hikashop_cart_input_button{
color : green;
}
will only apply on the listing, and:
.hikashop_product_page .hikashop_cart_input_button{
color : blue;
}
will only apply on the product page.
Please understand that this is a user support forum for HikaShop.
We can't provide courses on CSS coding. If you need to learn about CSS coding, I'd recommend some online tutorials:
css-tricks.com/specifics-on-css-specificity/
I'm sorry but you're wrong.
You just have to write the correct CSS so that it applies only to one of both.
For example:
.hikashop_products_listing .hikashop_cart_input_button{
color : green;
}
will only apply on the listing, and:
.hikashop_product_page .hikashop_cart_input_button{
color : blue;
}
will only apply on the product page.
Please understand that this is a user support forum for HikaShop.
We can't provide courses on CSS coding. If you need to learn about CSS coding, I'd recommend some online tutorials:
css-tricks.com/specifics-on-css-specificity/
Last edit: 9 years 6 months ago by nicolas.
Please Log in or Create an account to join the conversation.
Time to create page: 0.062 seconds