Title: hide text
Last modified: August 21, 2016

---

# hide text

 *  [snorke](https://wordpress.org/support/users/snorke/)
 * (@snorke)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/hide-text-with-css/)
 * see
    [http://www.formatgruppen.no/nettbutikk/produkt/parkett-1-stav-eik-polar-hvitmattlakk-klikk-kopi/](http://www.formatgruppen.no/nettbutikk/produkt/parkett-1-stav-eik-polar-hvitmattlakk-klikk-kopi/)
 * Is there a easy way to just hide total price and actual area with css or something?
 * regards
 * stian
 * _[Moderator Note: [No bumping](http://codex.wordpress.org/Forum_Welcome#No_Bumping).
   If it’s that urgent after waiting just 49 minutes, consider [hiring someone](http://jobs.wordpress.net/)
   instead.]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Alex Dimitrov](https://wordpress.org/support/users/xavortm/)
 * (@xavortm)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/hide-text-with-css/#post-4585098)
 * 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://www.w3schools.com/cssref/sel_nth-last-of-type.asp)
   
   [http://css-tricks.com/almanac/selectors/n/nth-last-of-type/](http://css-tricks.com/almanac/selectors/n/nth-last-of-type/)
 *  Thread Starter [snorke](https://wordpress.org/support/users/snorke/)
 * (@snorke)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/hide-text-with-css/#post-4585101)
 * Thx. i will start reading
 * But that hid the input field aswell.
 * regards
 * stian
 *  [Alex Dimitrov](https://wordpress.org/support/users/xavortm/)
 * (@xavortm)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/hide-text-with-css/#post-4585105)
 * sorry, i wrote TD, its TR.
 * So it will be:
 *     ```
       #price_calculator tr:nth-last-of-type(-n+2) {
           display:none;
       }
       ```
   
 *  Thread Starter [snorke](https://wordpress.org/support/users/snorke/)
 * (@snorke)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/hide-text-with-css/#post-4585107)
 * Superb
 * Thank you so much!!!
 * Regards
 * Stian
 *  Thread Starter [snorke](https://wordpress.org/support/users/snorke/)
 * (@snorke)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/hide-text-with-css/#post-4585122)
 * 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
       }
       ```
   
 *  [Alex Dimitrov](https://wordpress.org/support/users/xavortm/)
 * (@xavortm)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/hide-text-with-css/#post-4585123)
 * 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
       }
       ```
   

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘hide text’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [Alex Dimitrov](https://wordpress.org/support/users/xavortm/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/hide-text-with-css/#post-4585123)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
