Viewing 12 posts - 1 through 12 (of 12 total)
  • Posted in: Supreme
  • #48349
    plbenson
    Member
    Post count: 93

    Is there a way to make the ‘tabs’ colored (each differently) and/or have an ‘Image’ for the tabs?

    Tabs

    #49322
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    HI,
    Yes you can make this change so please put some css at

    Admin -> Theme Options -> General -> Custom Css

    /* FOR FIRST TAB 1  */
    ul.ui-tabs-nav li.ui-state-default a#ui-id-1{background-color:#ffffff;color:#000000} /*Default State*/
    ul.ui-tabs-nav  li.ui-tabs-active a#ui-id-1{background-color:#000000;color:#ffffff}/*Active State*/
    
    /* FOR FIRST TAB 2  */
    ul.ui-tabs-nav li.ui-state-default a#ui-id-2{background-color:#ffffff;color:#000000} /*Default State*/
    ul.ui-tabs-nav  li.ui-tabs-active a#ui-id-2{background-color:#000000;color:#ffffff}/*Active State*/
    
    /* FOR FIRST TAB 3  */
    ul.ui-tabs-nav li.ui-state-default a#ui-id-3{background-color:#ffffff;color:#000000} /*Default State*/
    ul.ui-tabs-nav  li.ui-tabs-active a#ui-id-3{background-color:#000000;color:#ffffff}/*Active State*/

    You can change the background-color code and color code as you want

    #49331
    plbenson
    Member
    Post count: 93

    Thanks — is there a way to put / use an image for the tabs?

    #49338
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    HI,
    Yes , you can put image to tab background ,

    /* FOR FIRST TAB 1  */
    ul.ui-tabs-nav li.ui-state-default a#ui-id-1{background:url(PUT_HERE_ABSOLUTE_IMAGES_PATH) no-repeat ;color:#000000} /*Default State please put absolute image path at replace of PUT_HERE_ABSOLUTE_IMAGES_PATH*/
    ul.ui-tabs-nav  li.ui-tabs-active a#ui-id-1{background:url(PUT_HERE_ABSOLUTE_IMAGES_PATH) no-repeat ;color:#ffffff}/*Active State please put absolute image path at replace of PUT_HERE_ABSOLUTE_IMAGES_PATH*/
    
    /* FOR FIRST TAB 2  */
    ul.ui-tabs-nav li.ui-state-default a#ui-id-2{background:url(PUT_HERE_ABSOLUTE_IMAGES_PATH) no-repeat ;color:#000000} /*Default State please put absolute image path at replace of PUT_HERE_ABSOLUTE_IMAGES_PATH*/
    ul.ui-tabs-nav  li.ui-tabs-active a#ui-id-2{background:url(PUT_HERE_ABSOLUTE_IMAGES_PATH) no-repeat ;color:#ffffff}/*Active State please put absolute image path at replace of PUT_HERE_ABSOLUTE_IMAGES_PATH */
    
    /* FOR FIRST TAB 3  */
    ul.ui-tabs-nav li.ui-state-default a#ui-id-3{background:url(PUT_HERE_ABSOLUTE_IMAGES_PATH) no-repeat ;color:#000000} /*Default State please put absolute image path at replace of PUT_HERE_ABSOLUTE_IMAGES_PATH */
    ul.ui-tabs-nav  li.ui-tabs-active a#ui-id-3{background:url(PUT_HERE_ABSOLUTE_IMAGES_PATH) no-repeat ;color:#ffffff}/*Active State please put absolute image path at replace of PUT_HERE_ABSOLUTE_IMAGES_PATH */
    #49341
    plbenson
    Member
    Post count: 93
    This reply has been marked as private.
    #49342
    plbenson
    Member
    Post count: 93
    This reply has been marked as private.
    #49348
    plbenson
    Member
    Post count: 93

    Didn’t work — this is what I added:

    /* FOR FIRST TAB 1 */
    ul.ui-tabs-nav li.ui-state-default a#ui-id-1{background:url http://www.letfamilyknow.com/wp-content/uploads/2013/08/Information_Tab.jpg no-repeat ;color:#000000}
    ul.ui-tabs-nav li.ui-tabs-active a#ui-id-1{background:url http://www.letfamilyknow.com/wp-content/uploads/2013/08/Information_Tab.jpg no-repeat ;color:#ffffff}

    ** Should I have url= or something like that?

    #49356
    plbenson
    Member
    Post count: 93
    This reply has been marked as private.
    #49357
    plbenson
    Member
    Post count: 93
    This reply has been marked as private.
    #49404
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,

    Please use only background color because background image will not look good
    With Best Regards
    Swiftideas Theme

    #49581
    plbenson
    Member
    Post count: 93

    Thanks.

    #50439
    Melanie – SUPPORT
    Member
    Post count: 11032

    You’re welcome 🙂

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register