Announcement table background color Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
4 posters

    Announcement table background color

    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Announcement table background color

    Post by TheCrow January 8th 2014, 12:32 am

    How can i change the background color of the topics in the announcement tables? I mean the topics in the table above the topics in each category:

    Announcement table background color AGaDHqr
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51514
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Announcement table background color

    Post by SLGray January 8th 2014, 1:09 am




    Announcement table background color Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Re: Announcement table background color

    Post by TheCrow January 8th 2014, 9:44 pm

    It doesn't work..



    Announcement table background color Thecro10
    Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: Announcement table background color

    Post by Ange Tuteur January 9th 2014, 12:39 am

    Hello ,

    You could do this by adding a class to the topics that have your announcement image.

    First javascript :
    Administration panel > Modules > HTML & JAVASCRIPT > Javascript codes management > create a new script

    Title : What you wish
    Placement : in the subforums
    Code:
    jQuery(document).ready(function () { jQuery('.tcl.tdtopics:has(img[src="https://cdn1.iconfinder.com/data/icons/free-large-boss-icon-set/32/Global_manager.png"])').addClass('importantTopic'); });

    If you change the announcement image you have to change it in the script here :
    Code:
    :has(img[src="https://cdn1.iconfinder.com/data/icons/free-large-boss-icon-set/32/Global_manager.png"])

    Then add your CSS to style the topic :
    Display > Pictures and colors > Colors > CSS stylesheet
    Code:
    .importantTopic { background:blue !important; }
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Re: Announcement table background color

    Post by TheCrow January 9th 2014, 2:28 pm

    It works.. Thanks! Solved!



    Announcement table background color Thecro10
    Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!
    Help@Bearville
    Help@Bearville
    Forumember


    Female Posts : 57
    Reputation : 1
    Language : English Afrikaans And Zulu

    Solved Re: Announcement table background color

    Post by Help@Bearville January 9th 2014, 3:25 pm

    Admin Panel> Display> Colours> look in the coloumn background Colours
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: Announcement table background color

    Post by Ange Tuteur January 9th 2014, 5:03 pm

    Topic solved and archived