• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Feature
    • Regression: No difference between h2, h3 in styling

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: Regression: No difference between h2, h3 in styling

    • Issue Tools
      • View Changes
    1. issueid=5149 July 11, 2017 8:26 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Regression: No difference between h2, h3 in styling

      On the XF default style there is no difference in the styling of h2 and h3 headings. Font size is 13px and both are underlined. Compare this to wikipedia were h3 is not underlined, but bold.
    Issue Details
    Issue Number 5149
    Issue Type Feature
    Project VaultWiki 4.x Series
    Category Styling / CSS
    Status Implemented
    Priority 5 - Minor Bugs / Small Tweaks
    Suggested Version 4.0.18
    Implemented Version 4.1.0 Alpha 1 Preview
    Milestone VaultWiki 4.1
    Software DependencyXenForo 1.x
    License TypePaid
    Votes for this feature 0
    Votes against this feature 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. July 11, 2017 8:57 AM
      ACL ACL is offline
      Regular Member
      I just added the following CSS to the vw_additional.css template which gives level 3 headings a fainter underline and for level 4 no underline.

      Code:
      h3.vw-head { border-bottom: 1px solid @primaryLighterStill; } 
      h4.vw-head { border-bottom: none; }
      In the interest of flexibility, perhaps there could be an additional XenForo style property group for the various wiki heading levels so administrators can tweak their appearance beyond the default settings to best fit their site?
      Reply Reply  
    2. July 11, 2017 9:01 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Quote Originally Posted by ACL
      In the interest of flexibility, perhaps there could be an additional XenForo style property group for the various wiki heading levels so administrators can tweak their appearance beyond the default settings to best fit their site?
      This would make sense. it would also make it easier for theme developers to customize VW.
      Reply Reply  
    3. June 18, 2018 2:03 PM
      pegasus pegasus is online now
      VaultWiki Team
      This is implemented in 4.1.x. There are separate style-properties for each of the heading levels 1 through 6, and except for XenForo 2.x heading levels 3-6 inherit empty values from heading level 2 (to emulate the current behavior). The font-size of each level is now taken from the appropriate style property.

      Since XenForo 2 does not differentiate between undefined border and border: none in the style properties, XenForo 2 headline properties do not inherit empty values from heading level 2. However, in XenForo 2, the default value for all heading font-sizes is a calculation based on the value of @fontSizeNormal. Admins may alter the calculation parameters or choose specific values when customizing font-size.
      Reply Reply  
    4. June 19, 2018 1:42 AM
      ACL ACL is offline
      Regular Member
      Awesome, sounds great! *virtual like*

      I assume heading level 1 style properties would apply to the (automatic) page title, and 2-6 would be for the [h] wiki bbcode TOC sections... would this be correct? If so, then it might be worthwhile to clarify in the admin style properties that level 1 is reserved for the page title, e.g. Page Title (Heading Level 1).
      Reply Reply  
    5. June 19, 2018 9:42 AM
      pegasus pegasus is online now
      VaultWiki Team
      While level 1 is used by the page title, you can use level 1 inside a wiki page too. It starts a new page-container with the heading at the top, rather than a new heading inside the same page-container.
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 9:02 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.