Announcement

Collapse
No announcement yet.

Different coloured headings.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Different coloured headings.

    Is it possible to have different coloured headings for each section when viewing "today's posts"

    When you look at "today's posts" there is the thread ​​​​​​title followed by the section it is posted in and by whom.

    We would like to be able to colour the section name "politics" a different colour to all the others.

    Click image for larger version

Name:	Screenshot_20191112-165309~2_wm.png
Views:	50
Size:	217.2 KB
ID:	4426784



    __________________________________________
    We don't stop playing because we grow old;
    we grow old because we stop playing.
    GBS

  • #2
    You should be able to use custom CSS like this:

    Code:
    /* <a> elements with an href matching "https://example.org" */
    a[href="https://example.org"] {
      color: green;
    }
    Replace the URL with the one used for your politics forum. As usual, you would add this in Site Builder under Style -> CSS Editor. However, this will change the URL color everywhere, not just on the Today's Topics page.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API - Full / Mobile
    Vote for your favorite feature requests and the bugs you want to see fixed.

    Comment


    • #3
      Originally posted by Wayne Luke View Post
      You should be able to use custom CSS like this:

      Code:
      /* <a> elements with an href matching "https://example.org" */
      a[href="https://example.org"] {
      color: green;
      }
      Replace the URL with the one used for your politics forum. As usual, you would add this in Site Builder under Style -> CSS Editor. However, this will change the URL color everywhere, not just on the Today's Topics page.
      Brilliant thanks so much Wayne, don't mind the colour change everywhere

      Thanks for the fast reply.
      __________________________________________
      We don't stop playing because we grow old;
      we grow old because we stop playing.
      GBS

      Comment


      • #4
        This has worked perfectly. Thanks again.

        Just a mention - It didn't change all the links though. The ones on the main page category links are still green, which is fine and how we would prefer it anyway.
        __________________________________________
        We don't stop playing because we grow old;
        we grow old because we stop playing.
        GBS

        Comment

        Related Topics

        Collapse

        Working...
        X