xF1 Creating custom thread and resource prefix CSS

  • Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Radio

    ven0m

    Administrator
    Staff member
    Administrator
    Moderator
    Platinum
    xenForo 2.x.x
    xenForo 1.x.x
    Contributor
    vBulletin All Access Pass
    The Chest
    Verified
    Ultra Platinum VIP
    Platinum VIP
    Gold VIP
    Silver VIP
    Premium
    Member
    Jul 17, 2005
    20,466
    7,708
    321
    localhost
    Heisenberg submitted a new resource:

    - Creating custom thread and resource prefix CSS

    This resource is not affiliated with XenForo Ltd.

    I'm sure lots of people will want to create their own thread and resource prefix CSS, so this guide will help you do that.

    The following code should be added to EXTRA.css

    In the example below we're going to create two classes; CTA1 and CTA2.
    Of course you can choose whichever class names you like.

    Code:
    .prefix.prefixCTA1 {
    color: @textCtrlBackground;
    background-color: @primaryDarker;
    border-color: @primaryDark;
    }...