WordPress.org

Ready to get started?Download WordPress

Forums

Atahualpa
[resolved] Split tables? (3 posts)

  1. tostrye
    Member
    Posted 1 year ago #

    I have a table that was really long, so I split it so that the two tables are next to eachother. I like how the theme formats the tables and adds a hover effect, but how do I make it so that the two have independent hover effects?

    The table is still on my hard drive so I can't link.

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    You would need to find a way to target the tables separately in the CSS code -- likely using a class or id specific to each table. So you might have something like this:

    <table id="table1">
    ....
    
    <table id="table2">
    .....

    then the CSS code:

    table#table1 {
       styles for table1;
    }

    ditto for table 2 -- depending on how your theme/site is coded, you may already have selectors you could use, or you may need to add them.

  3. tostrye
    Member
    Posted 1 year ago #

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.