Sign Up! Login: Password: New User? Forgot? Support
Code 
 
 
Forums 
Forums : News > News Widget Fixes
Mottie (SuperAdmin) 11/25/2010 12:08 PM EST : News Widget Fixes
ACK!
Mottie
Posts: 3883

0
Like

0
Dislike

News Widget Fixes

GuildPortal admin site link to the original post

  • Wide Images:
    Images inside the News Widget may be too wide and end up distorting your layout. So by adding the following CSS, the images will be set to have a maximum width. Add the following to your custom css (Control Panel > Custom HTML & Script > Custom CSS > CSS Additions to Standard tab). The value of '700px' (in red) is a generic value, so adjust it as desired.
    .gpWidget-newslrg img { max-width: 700px; }
  • Remove Extra Tooltip:
    If you add custom icons to your feed widget, you may get an extra messed up looking tooltip, like this:



    To fix it just add the following to your custom script (Control Panel > Custom HTML & Script > Custom Javascript/JQuery > Document Ready Event tab)
    // Hide extra tooltips in news widget
    $('.gpWidget-newslrg a.tooltip img').attr('title','');
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

 
 
Key 
New posts No new posts
New posts ( popular ) No new posts ( popular )
New posts ( sticky ) No new posts ( sticky )
New posts ( locked ) No new posts ( locked )
 
 
Who's Online 
There are   members online.
 
 
So-and-so has logged on!
%title%
%message%