Title: CSS problem
Last modified: August 24, 2016

---

# CSS problem

 *  [oipeirates](https://wordpress.org/support/users/oipeirates/)
 * (@oipeirates)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/css-problem-43/)
 * Hello guys, i have some problem with css, my tamplate looks like:
 * [http://prntscr.com/6zfti0](http://prntscr.com/6zfti0)
    [http://prntscr.com/6zftmp](http://prntscr.com/6zftmp)
 * i want to change the collors of links and i try that (i take it from my old tamplate)
 * a, a:visited {color: #585858;text-decoration: none;}
    a:hover {color: #C6E633;
   text-decoration: underline;} a:visited{color:#FF0000;text-decoration:none} a:
   focus, a:hover, a:active {outline: none }
 * its works.. but… now effected all site with that, all hyperlinks.. example:
 * [http://prntscr.com/6zfsob](http://prntscr.com/6zfsob)
    [http://prntscr.com/6zfted](http://prntscr.com/6zfted)
 * do you know how to make no effected all others hyperlinks exept that in posts?
 * sorry for my english, thank you in advance.

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

 *  [Spnkmyr](https://wordpress.org/support/users/spnkmyr/)
 * (@spnkmyr)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/css-problem-43/#post-6073812)
 * You can do two things. The rule you have above is a global rule for all hyperlinks.
   You can either remove that and create rules for each type of hyperlink by adding
   a class to it, or, keep those global rules and then make other rules for the 
   hyperlinks you don’t want to change, again by assigning classes.
 *  Thread Starter [oipeirates](https://wordpress.org/support/users/oipeirates/)
 * (@oipeirates)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/css-problem-43/#post-6073941)
 * it is the only way right? -.-
 *  [CrouchingBruin](https://wordpress.org/support/users/crouchingbruin/)
 * (@crouchingbruin)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/css-problem-43/#post-6073971)
 * You can create a rule that affects links only in the post body, you just have
   to add the class name of the post container to your rule selector. Can you post
   a link to your site? Otherwise it is difficult to tell you the class name you
   should use.
 *  [jerryb70](https://wordpress.org/support/users/jerryb70/)
 * (@jerryb70)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/css-problem-43/#post-6074026)
 * Hi
    in my site I put this page:
 * [http://www.elisa-stefano.it/gnamgnam/pizzerie/](http://www.elisa-stefano.it/gnamgnam/pizzerie/)
 * It was created with this table:
 * [http://www.elisa-stefano.it/gnamgnam/wp-admin/admin.php?page=tablepress&action=edit&table_id=14](http://www.elisa-stefano.it/gnamgnam/wp-admin/admin.php?page=tablepress&action=edit&table_id=14)
 * and with these options plugin:
 * [http://www.elisa-stefano.it/gnamgnam/wp-admin/admin.php?page=tablepress_options&message=success_save](http://www.elisa-stefano.it/gnamgnam/wp-admin/admin.php?page=tablepress_options&message=success_save)
 * I would like to insert a colored background to a whole column, but
    i don’t know
   how to do. Can someone please help me? Thanks
 *  [CrouchingBruin](https://wordpress.org/support/users/crouchingbruin/)
 * (@crouchingbruin)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/css-problem-43/#post-6074036)
 * Hi, Jerry:
 * Next time, please start your own thread and don’t hijack someone else’s. And 
   questions about Tablepress should be posted on the [Tablepress support forum](https://wordpress.org/support/plugin/tablepress).
 * Tablepress assigns classes to each column, like **column-#**, so it’s easy to
   add CSS that targets just the column in that particular table. You know that 
   the ID of the table is 14, so from the admin dashboard, go to **Tablepress → 
   Plugin Options** and in the field labeled **Custom CSS**, copy & paste this rule:
 *     ```
       #tablepress-14 .column-2 {
          background-color: #ffffcc;
       }
       ```
   
 * This changes the color of column 2 in table 14 to yellow. To change it to a different
   color, use this [color picker tool](http://www.w3schools.com/tags/ref_colorpicker.asp)
   to figure out what hex code to use.

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

The topic ‘CSS problem’ is closed to new replies.

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 4 participants
 * Last reply from: [CrouchingBruin](https://wordpress.org/support/users/crouchingbruin/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/css-problem-43/#post-6074036)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
