Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #12271

    Hello love the theme just runing in to a small snag on the design im trying.. I am putting a tabbed menu on the homepage ex:

    http://www.datexcorpc.com/testing_test

    But would like to have the backround color of each tab a different color. Is that possible. … I also don’t want to interfere with the other tab tables I have on the remainder of my site.

    #74907

    Hey!

    If I try to visit: http://www.datexcorpc.com/ I get an error (Server not found)?

    Regards,

    Peter

    #74908

    My apologies typing to fast. It is actually http://www.datexcorp.com/testing_test. I added one c to many.

    #74909

    It seems like Brightbox does not add numbers to the tabs which makes it impossible to style them individually. I’ll ask Kriesi to add some code to the php/js code which uses an index to add an id/number class to the tab. Afterwards it will be possible to style the tabs by using the index css class.

    #74910

    Thanks Dude, I look foward to the new code from Kriesi!

    #74911

    One of us will update as soon as we have a bit more information on when something to help will be implemented.

    Regards,

    Devin

    #74912

    Thanks guys!

    #74913

    Hey! Actually with the new CSS3 features you can apply a color to each tab without modifications of the other script files:

    Works like this for 3 tabs:


    .tabcontainer .tab:nth-child(1), .tabcontainer .tab_content:nth-child(4) {
    background:#fff;
    }

    .tabcontainer .tab:nth-child(2), .tabcontainer .tab_content:nth-child(5) {
    background:#333;
    }

    .tabcontainer .tab:nth-child(3), .tabcontainer .tab_content:nth-child(6) {
    background:#333;
    }

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Can I have the backround color in each tab different?’ is closed to new replies.