Modifying Category Headers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TheLastSuperman
    Senior Member
    • Sep 2008
    • 1799

    Modifying Category Headers

    The current Category Headers are simply not how I would like them to appear therefor I took a minute to modify the css via css_additional.css under the CSS Templates in the Style Manager.

    Before:
    Click image for larger version

Name:	modifycategoryheadersvb5before.png
Views:	1
Size:	30.1 KB
ID:	3724757

    After:
    Click image for larger version

Name:	modifycategoryheadersvb5after.png
Views:	1
Size:	31.7 KB
ID:	3724756

    Add this code to additional.css to make this change:
    Code:
    .category-header {
    height:2px !important;
    background:transparent !important;
    border-top: 1px solid #c4c4c4 !important;
    }
    I'm still on a learning curve like many others so if there is a set of new stylevars I have overlooked please let me know .
    Last edited by TheLastSuperman; Tue 25 Sep '12, 8:14pm.


    Former vBulletin Support Staff
    Hacked recently? See my blog post "Recovering a Hacked vBulletin Site".
    Thinking outside the box? Need modification support? Visit www.vBulletin.org and have at it!
  • AzhriaLilu
    Senior Member
    • Aug 2003
    • 1388

    #2
    The category headers (in your first image) would look better if there was an actual category name in it

    Click image for larger version

Name:	categoryheader.png
Views:	1
Size:	186.5 KB
ID:	3690439

    What you've done in your second image is simply remove the background colour, so when you do add a category name, it'll blend in with the rest of the site.
    I know violence isn't the answer . . . I got it wrong on purpose
    Rep Owners - New forum for reptile owners/lovers
    sigpic

    Comment

    • TheLastSuperman
      Senior Member
      • Sep 2008
      • 1799

      #3
      ^ I did have names, did not show therefor I posted a how to remove, remember it's still Beta .


      Former vBulletin Support Staff
      Hacked recently? See my blog post "Recovering a Hacked vBulletin Site".
      Thinking outside the box? Need modification support? Visit www.vBulletin.org and have at it!

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 73981

        #4
        Originally posted by Michael Miller
        ^ I did have names, did not show therefor I posted a how to remove, remember it's still Beta .
        Your site has an issue then...

        Level 1 forums which are not categories would have a blank category header above them. This is by design.

        Level 1 forums which are categories would have their name in the category header.

        See: http://www.vbulletin.com/vb5demo/
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

        • TheLastSuperman
          Senior Member
          • Sep 2008
          • 1799

          #5
          I reckon so then, out of the box fresh however so basically "I didn't do it!".


          Former vBulletin Support Staff
          Hacked recently? See my blog post "Recovering a Hacked vBulletin Site".
          Thinking outside the box? Need modification support? Visit www.vBulletin.org and have at it!

          Comment

          • AzhriaLilu
            Senior Member
            • Aug 2003
            • 1388

            #6
            Originally posted by Michael Miller
            I reckon so then, out of the box fresh however so basically "I didn't do it!".
            That's because fresh out of the box it ships with a forum and no categories

            - - - Updated - - -

            Originally posted by Michael Miller
            ^ I did have names, did not show therefor I posted a how to remove, remember it's still Beta .
            And you haven't removed the category you've just removed the background colour
            I know violence isn't the answer . . . I got it wrong on purpose
            Rep Owners - New forum for reptile owners/lovers
            sigpic

            Comment

            • TheLastSuperman
              Senior Member
              • Sep 2008
              • 1799

              #7
              Actually no, Beta 12 and 13 both for me had "Forum" and each time it was selected in options as "no" for:

              Act as Channel (Will act as category if no)
              And I know, I chose to change the css not completely hide it .

              Regardless my issue was from:
              Error: invalid_node_id thrown in /home/*removed*/public_html/vB5/core/vb/library/node.php on line 653


              Former vBulletin Support Staff
              Hacked recently? See my blog post "Recovering a Hacked vBulletin Site".
              Thinking outside the box? Need modification support? Visit www.vBulletin.org and have at it!

              Comment

              Related Topics

              Collapse

              Working...