Momentum Posted March 17, 2015 Share Posted March 17, 2015 Hello! I'm trying to get the striketrough removed from the product info. As shown below in the screenshot you see the normal price on top and the i gues the unit price at the bottom. Underneath is the striketrough. If possible, both need to go away. But searching this forum didn't give me an answer yet. So hoping one of you guy's have the magic helping hand! Link to comment Share on other sites More sharing options...
Jimbola Posted March 17, 2015 Share Posted March 17, 2015 One way to do it is to find it's CSS properties (usually in root/themes/product.css) and set to display:hidden; Link to comment Share on other sites More sharing options...
Momentum Posted March 17, 2015 Author Share Posted March 17, 2015 Thx i checked and the only think i could find is: #old_price { text-decoration: line-through; display: block; font-family: "lato", sans-serif; font-size: 14px; line-height:24px; margin-left: 5px; margin-right: 10px; padding-bottom: 15px; text-align: left; float:left; width:auto; Changing font size is telling me that i got the right part. But adding hidden does nothing. What am i doing wrong? Link to comment Share on other sites More sharing options...
Momentum Posted March 17, 2015 Author Share Posted March 17, 2015 Solved! its not hidden but none so it will show as below: #old_price { text-decoration: line-through; display: none; font-family: "lato", sans-serif; font-size: 14px; line-height:24px; margin-left: 5px; margin-right: 10px; padding-bottom: 15px; text-align: left; float:left; width:auto; Link to comment Share on other sites More sharing options...
Jimbola Posted March 17, 2015 Share Posted March 17, 2015 Yes none, sorry not hidden. Link to comment Share on other sites More sharing options...
Momentum Posted March 17, 2015 Author Share Posted March 17, 2015 (edited) No biggy! the way to learn is to do as much as you can yourself. You got me on my way! found it here: http://www.w3schools.com/cssref/pr_class_display.asp Edited March 17, 2015 by Momentum (see edit history) Link to comment Share on other sites More sharing options...
Momentum Posted March 17, 2015 Author Share Posted March 17, 2015 Hmmm there are ghosts playing with me.! it was gone. Now its back. But the script is still with none. What happend? something overruled? Link to comment Share on other sites More sharing options...
Momentum Posted July 9, 2015 Author Share Posted July 9, 2015 Ok it does work but i also need to remove the unit price just above it. Where can i find that. Its not in the css file. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now