REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved][Help] Make a theme dynamic(Stretch)
#1
Hi all, I was wondering how to make a theme "Dynamic". As in, stretch across all screen resolutions. Like mybbcentral to be specific Tongue . I don't really like the big blank bits on the sides of my site lmao. As seen here;
[Image: wqoghi.png]
See the blank bits on both sides, and how the main part doesn't stretch all the way? That's what I want to change, so it does. Any help would be appreciated Smile
[Image: mybbsig.php]
Reply
#2
go in your global.css file in the templates adn style setting for that theme.

click on advanced edit and change under "container" there is a width, change to 92%
[Image: tyler-allen.png]
Reply
#3
Didn't work =/
Made it about 3 pixels smaller on each side lol.

This is what I have now;
Code:
}

#container {
    width: 92% auto;
    color: #a2a2a2;
    margin: auto auto;
    padding: 0 20px 20px 20px;
    text-align: left;
    background-color: #121212;
}

And this is the original;
Code:
}

#container {
    width: 100% auto;
    color: #a2a2a2;
    margin: auto auto;
    padding: 0 20px 20px 20px;
    text-align: left;
    background-color: #121212;
}
[Image: mybbsig.php]
Reply
#4
Remove the auto, not seen that in a width before.
Reply
#5
yeah auto is messing with some config settings in your template.....all you have to do is remove it and your all set.
[Image: tyler-allen.png]
Reply
#6
Removed the auto, so it looked like;
Code:
width: 92%;
And I also tried;
Code:
width: 100%;

But to no avail =/
[Image: mybbsig.php]
Reply
#7
Try reemoving padding.
Reply
#8
Ok, fixed it. I did this;
Code:
width: auto;

In #wrapper Smile

Now it will stretch dynamically over all screen resolutions(Tested in VM)

Thanks for the help guys
[Image: mybbsig.php]
Reply
#9
I was going to ask about this. But then its being discussed already. Thanks!
Reply
#10
(Jan 24, 2010, 02:37 PM)sudarsan7532 Wrote: I was going to ask about this. But then its being discussed already. Thanks!

Answer is right above your post, lol.
[Image: mybbsig.php]
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
Question Any way to make new users default to multiple groups? Jayfore 1 961 Oct 11, 2017, 06:06 PM
Last Post: DrBaja
  Ficon, make it work with 1.8 Kiggoz 8 4,179 Mar 02, 2017, 05:49 AM
Last Post: sova174
  [Solved]Smilies not showing when posting Riverthief 7 4,877 Nov 27, 2016, 09:48 AM
Last Post: next438
  mytab plugin does not function on my theme bushido 1 1,498 Jul 04, 2016, 11:01 PM
Last Post: Prince Tony
Wink Internal 500 Error for Guests/Not logged SOLVED!! mikefl 0 881 May 12, 2014, 06:44 PM
Last Post: mikefl

Forum Jump:


Users browsing this thread: 1 Guest(s)