Hi Support Team,
Was hoping you could solve this CSS issue.
I want to put in the content “remove from cart”
After the “X” button on my product page
I have adjusted my X location and color but I can not seem to get the after element to work.
here is what I have in my style sheet:
#top div ul.product_list_widget li a.remove{
top:auto !important;
height:17px !important;
background-color:red !important;
right:auto !important;
bottom:0px !important;
position:relative !important;
}
li a.remove::after{
content: ” Remove from cart”;
color:red !important;
}
Hey bodnikwebservices,
Could you please attach a mockup of what you’re trying to achieve?
Please remove your code for now. We’ll try to adjust it.
Best regards,
Victoria
Ive attached a link of what I am trying to do.
I have indicated with the circle where I’m looking to add the “remove from cart” text using the ::after.
For now I have commented out the CSS in my style sheet
This is what I had for the styles red “X” but obviously the after content isn’t working.
I was trying to get it to appear (the “X” and the “remove from cart) right after the product description but I didn’t get that far.
#top div ul.product_list_widget li a.remove{
top:auto !important;
height:17px !important;
background-color:red !important;
right:auto !important;
bottom:0px !important;
position:relative !important;
}
li a.remove::after{
content: ” – Remember this”;
color:red !important;
}
Thanks for your time.
Steve