![]() |
wgo_ blocks conversion from stacked vertically to 3 column CSS ?
CSS ain't my strong suit, so thought I'd ask here. On vB 4.1.x default style what's going on block on forumhome has 5 div blocks stacked vertically on top of each other and want to change it to a 3 column div CSS block.
5 wgo_ blocks stacked vertically change to 3 column 33% width div CSS table change from Code:
wgo_onlineusers Code:
column 1 thanks |
I don't have any birthdays or events on my test site, so this works:
HTML Code:
/* WGO in 3 columns */ HTML Code:
/* WGO in 3 columns */ |
Thanks Lynne. Tried with eventwrapper method and very close just that bit off, the onlineusers, events and birthdays end up horizontal within their own 33% divs ???
Private test forum https://vborg.vbsupport.ru/external/2011/08/109.png https://vborg.vbsupport.ru/external/2011/08/110.png --------------- Added [DATE]1312426458[/DATE] at [TIME]1312426458[/TIME] --------------- okay think i got it not sure if it's most efficient way of doing it but i changed onlineusers, events and birthday's class section to eventsection and added eventsection in additional.css Code:
<div id="wgo_onlineusers" class="wgo_subblock eventsection"> Code:
.eventsection { --------------- Added [DATE]1312426822[/DATE] at [TIME]1312426822[/TIME] --------------- Of course looks better with birthdays and events hidden https://vborg.vbsupport.ru/external/2011/08/112.png |
Try this:
HTML Code:
/* WGO in 3 columns */ |
sweet.. that worked perfectly .. thanks Lynne :)
Trimming the vertical fat off the default style :D |
I like that look. I don't know what it would look like if you had a whole bunch of users online (like a couple hundred), but it looks fine on my test site right now. :)
|
Yeah would be nice to have users online list be auto truncate after a predefined character limit and append a [more] link to view full listing to keep things tidy :)
Or do away with legend column and allow onlineusers span 2x 33% columns |
I've been using this to get rid of the legend and permissions blocks. I would venture you could jigger it to fit your needs.
Code:
/* TW7S - Remove Legend and Permissions Boxes */ Edit: No joy there. Maybe the 2 column css trick is messing it up. I'll play around with it. |
thanks setishock i used the same code to test hide the legend and other boxes as well :)
i usually use conditionals to hide such stuff from guests though i think for 2 column without legend you need to break up the 3 divs listed below ?? Code:
.wgo_block .section, .wgo_stats .section, .eventwrapper |
All times are GMT. The time now is 03:21 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|