find the class that holds the element and add display:none to it. (you can add it as custom css, i dont advice touching the theme style.css it self)
Or else said:
#price_calculator td:nth-last-of-type(-n+2) {
display:none;
}
http://www.w3schools.com/cssref/sel_nth-last-of-type.asp
http://css-tricks.com/almanac/selectors/n/nth-last-of-type/
Thread Starter
snorke
(@snorke)
Thx. i will start reading
But that hid the input field aswell.
regards
stian
sorry, i wrote TD, its TR.
So it will be:
#price_calculator tr:nth-last-of-type(-n+2) {
display:none;
}
Thread Starter
snorke
(@snorke)
Can i ask you one last question, since you are on fire 🙂
How do I make a solid border around the “calculator
I tried:
#price_calculator p{
border: 1px solid #ffcc00
}
You can’t make a border around the input field/label and the button below it because they are in diferent containers. You can do around each of them separatley (i suggest not to) or better just around the input field “Skriv inn antall m2”
This would do it:
#price_calculator tr {
border: 1px solid #fc0
}