Announcement

Collapse
No announcement yet.

Forum Wrapper

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Forum Wrapper

    I've placed the following div in my custom.css to display two white borders on the left and right side on my forum and to lower my banner a little bit.
    HTML Code:
    #main-forum-wrapper {
        max-width: 100%;
        margin: 0 auto;
        overflow: hidden;
        background: #fff;
        padding: 10px;
    }
    I had to edit my header and footer template to insert this div, so I'm wondering if there is a way to just use custom.css. I saw the following code on the vB forums but using this css it doesn't show the white borders on mobile devices. When added the padding, it messes up the responsive layout.
    HTML Code:
    #wrapper {
        max-width: 1200px;
        min-width: 320px;
        width: 100%;
    }
    
    #wrapper {
        background: none repeat scroll 0 0 #FFFFFF;
         margin: auto;
    }
    Any advice?

    #2
    Can you post a screenshot of the effect you want to achieve?
    Helpful? Donate. Thanks!
    Buy me a coffeePayPal QR Code
    Fast VPS Host for vBulletin:
    A2 Hosting & IONOS

    Comment


      #3


      Top one is the default one and the bottom one is with my current div.

      Comment


      • glennrocksvb
        glennrocksvb commented
        Editing a comment
        This requires a not straightforward css solution due to the way the HTML is structured. Will try to figure it out but I will have no access to my computer for 2 days.

      • Fleiding
        Fleiding commented
        Editing a comment
        Thanks, I appreciate it.

    Users Viewing This Page

    Collapse

    There is 1 user viewing this forum topic.

    • Guest Guest

    Latest Posts

    Collapse

    Working...
    X
    Searching...Please wait.
    An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

    Please push the back button and reload the previous window.'
    An unexpected error was returned: 'Your submission could not be processed because the token has expired.

    Please push the back button and reload the previous window.'
    An internal error has occurred and the module cannot be displayed.
    There are no results that meet this criteria.
    Search Result for "|||"