praneth Posted March 11, 2013 Share Posted March 11, 2013 Hello all, I am wondering if anyone knows: on line 1214 of global.css (under themes), what does content: "."; do? I had to remove it as it added dots in my order-opc page (payment section). Thanks!!! Link to comment Share on other sites More sharing options...
NemoPS Posted March 12, 2013 Share Posted March 12, 2013 Hi, That is used to place stuff in the :before and :after pseudo clases. It can be left as well, and it usually is. I don't know why prestashop put a dot inside. Basically, it's used when trying to achieve the "double border" effect with position relative on the original element, and position absolute on the pseudo classes. more about this http://www.w3schools.com/css/css_pseudo_elements.asp Link to comment Share on other sites More sharing options...
praneth Posted March 12, 2013 Author Share Posted March 12, 2013 Hi Nemo, Thanks for taking the time to reply. I had never come across that one. It's pretty useful actually! Still don't know about that period, but anyway... Thanks! Link to comment Share on other sites More sharing options...
NemoPS Posted March 12, 2013 Share Posted March 12, 2013 Uhm actually i told you Hi, That is used to place stuff in the :before and :after pseudo clases. It can be left as well, and it usually is. I don't know why prestashop put a dot inside. So the period there is just a placeholder, it doesn't do anything Link to comment Share on other sites More sharing options...
praneth Posted March 12, 2013 Author Share Posted March 12, 2013 true I've always had trouble with things that don't have a purpose. I've noticed it elsewhere in global.css. Could be a private joke no one will get! Link to comment Share on other sites More sharing options...
Recommended Posts