Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
(Scalemotorcars.com) Make Widget set Size with Scrollbar Details »
(Scalemotorcars.com) Make Widget set Size with Scrollbar
Mod Version: 1.00, by Scalemotorcars (Coder/Designer) Scalemotorcars is offline
Developer Last Online: Jul 2019 I like it Show Printable Version Email this Page

vB Version: 4.1.4 Rating: (1 vote - 5.00 average) Installs: 14
Released: 20 Aug 2011 Last Update: Never Downloads: 0
Supported Template Edits Code Changes Re-usable Code Translations  

I just released a custom grid that has a place for 4 columns in the middle of the page.

You can see that mod here.....

Live Demo..........

Well as most of you know, widgets don't come in a set size and it left all kinds of empty space on my homepage. NOT GOOD....

All I did was adapted a little CSS and a few quick template edits. You will need to adjust your code to fit your site. Just take note of the XXX and replace it with your size. You can also add width if you like.

Lets start....

You have 2 choices. One, add the below code to the end of additional.css OR to the bottom of widget.css. Its up to you.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If you want to add a width, Find this line in the code above.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add right below it. (Again, add your actual size where you see XXX)


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Please take special note of these 2 lines below.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(Overflow-x:hidden) actually hides the horizontal scrollbar in browsers that support it. If you want the horizontal scrollbar to show then remove that line. If you want to hide the vertical scrollbar then replace it with overflow-y:hidden. Just note that you will not be able to scroll in the direction of the hidden bar.

Now for (position:relitive), leave this in the code or you'll have issues with your avatars popping over the edge of the widget.

Last part of this mod.

In the widget templates you want to adjust, find this line of code. NOTE: Not all widgets use it so your kind of stuck with the ones that do. At least until someone figures a way around it.

Find this line in the template.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with this line.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That's it. Just repeat the last edit with each widget you want to adjust....

FYI. This is not supported so please feel free to hack away and add or change the code accordingly to your needs. Enjoy

If you use it please click install. Thanks....

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	widget-resize.jpg
Views:	785
Size:	98.5 KB
ID:	132177  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
vBulletin CMS Grid (Scalemotorcars.com) Custom 10 Field CMS Grid Layout Scalemotorcars vBulletin 4.x Add-ons 29 02 May 2015 10:41

Comments
  #2  
Old 20 Aug 2011, 19:55
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Real name: Daniel
No real reason to reserve this but hey everyone else does it so why not...
__________________
ScaleMotorcars.com Large scale model building at its best. Check it out.
Reply With Quote
  #3  
Old 21 Aug 2011, 08:59
mitch84 mitch84 is offline
 
Join Date: Mar 2008
thank you, work fine
Reply With Quote
  #4  
Old 21 Aug 2011, 14:52
doctorsexy's Avatar
doctorsexy doctorsexy is offline
 
Join Date: Apr 2011
Real name: Chris
Fab.. thanks
__________________
http://sandstormradio.org
Reply With Quote
  #5  
Old 21 Aug 2011, 16:26
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Is that your site (the demo site) ?

I've tried twice to register and both times it said I was a spammer. I promise I'm not

Last edited by K4GAP; 21 Aug 2011 at 16:32.
Reply With Quote
  #6  
Old 22 Aug 2011, 01:45
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Real name: Daniel
Originally Posted by GaryT View Post
Is that your site (the demo site) ?

I've tried twice to register and both times it said I was a spammer. I promise I'm not
Yes thats mine.

Try another user ID. I use StopForumSpam so you may want to look into why its kicking you out.
__________________
ScaleMotorcars.com Large scale model building at its best. Check it out.
Reply With Quote
  #7  
Old 25 Sep 2012, 12:18
akademikper akademikper is offline
 
Join Date: Aug 2011
Hello, i want to show scroll bar, deleted "overflow-x:hidden;" line but still it isn't showing on safari and chrome.
Reply With Quote
  #8  
Old 12 Mar 2013, 15:02
Toorak Times's Avatar
Toorak Times Toorak Times is offline
 
Join Date: Jan 2011
I've got your grid working on 4.2pl3, thanks, very excited, will this widget work there too ?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 22:05.

Layout Options | Width: Wide Color: