• Resolved davidvanstaveren

    (@davidvanstaveren)


    Hi Tobias,

    I would to change different link colours such as:

    a:link,
    a:visited,
    a:active

    The theme I have is already set for a specific type but I have different TD coloured backgrounds so the colours need to change.

    Thanks,

    David

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter davidvanstaveren

    (@davidvanstaveren)

    I think I figured it out:

    .tablepress-id-83 {
    }

    a:visited {
    color: #800080;
    }

    a:hover {
    color: #008000;
    }

    a:active {
    color: #FF0000;
    }

    }

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Nice find already! Unfortunately, nesting the code like that will not work. Instead, I recommend this:

    .tablepress a:visited {
      color: #800080;
    }
    
    .tablepress a:hover {
      color: #008000;
    }
    
    .tablepress a:active {
      color: #FF0000;
    }

    This will change the link colors in all TablePress tables.

    Regards,
    Tobias

    Thread Starter davidvanstaveren

    (@davidvanstaveren)

    Thanks Tobias I am going to keep this handy for next time.

    For this project I don’t want to change the link colours in all the tables just specific ones as I have multiple tables with different cell colours.

    This code will come in useful for those that want different colours for different. TD backgrounds.

    Cheers to you friend and thanks as always,

    David

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    you could use this on individual tables as well:

    .tablepress-id-83 a:visited,
    .tablepress-id-83 a:hover {
      color: #008000;
    }
    
    .tablepress-id-83 a:active {
      color: #FF0000;
    }

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

    Thread Starter davidvanstaveren

    (@davidvanstaveren)

    Thanks Tobias I love that it will come in very handy! very cool.

    I have written a review:

    I love this Plugin!

    I am an old school .html coder but somewhat new to using WordPress. I have found that using TablePress to be very helpful when creating tables in WP.

    Also Tobias the creator and owner of this Plugin deserves a round of applause! He is very helpful and responds to any and every question, honestly I don’t know how he does it!

    If you can send him a couple of bucks here and there via PayPal as his Plugin is free!

    Cheers,

    David.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for the kind words, I really appreciate it! ??

    Best wishes,
    Tobias

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘changing multiple link colours’ is closed to new replies.