No announcement yet.

Change CSS and html

  • Filter
  • Time
  • Show
Clear All
new posts

  • Change CSS and html

    Hi, I'd like to know where I can directly change or some CCS and html... For example to change some margin and padding you can't in the stylevars.


  • #2
    OK, I answered my own question. That possibility wasn't in the trial version online. I just saw where on my localhost.


    • #3
      You can add additional css to the template css_additional.css, or by using the front end -Edit Site > Style > CSS Editor

      Templates can be edited but you should avoid doing so because when upgrading you may need to revert your changes.


      TalkNewsUK - My vBulletin 5.5.6 Demo
      AdminAmmo - My Cloud Demo


      • #4
        Thanks for your answer. I could always make the change on the new version if I upgrade, right?

        I'd like to change the height of the toolbar, primary module header and subheader and also reduce the space between the header tabbar and what's below, also removing the primary module. Is it possible?

        Thanks again.
        Last edited by Marksan; Fri 29th Nov '19, 5:56am.


        • #5
          The layout is completely controlled by CSS. You can override the default CSS using your custom CSS in the css_additional.css template. To understand the elements you want to change and the classes/ids assigned to them, you can use your browser's "Inspect Element" functionality.

          You can configure and change modules using Site Builder. The "Primary Module" is a nebulous concept and will change based on the page being viewed and the module's location on the page. Some modules cannot be removed from default pages. Doing so will break the software's functionality. You can build custom pages in almost any manner you wish.
          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.


          Related Topics