vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How do I remove widget border box? (https://vborg.vbsupport.ru/showthread.php?t=253006)

paulnicholson 11-02-2010 01:30 AM

How do I remove widget border box?
 
I want to remove the widget border box in vbulletin suite 4.0.8. I am inserting a facebook like box and I have to sacrifice information and make it thinner. The widget boxes make my site look amateur as well. Anyone know how to remove the border so users can only see the contents?

Lynne 11-02-2010 02:15 AM

I'm not sure exactly what you want (an image always helps), but the border is defined in ".cms_widget", so you can add this to additional.css to get rid of it:
HTML Code:

.cms_widget {border:none;}

paulnicholson 11-02-2010 04:23 AM

Where is that located please? I'm pretty new.

Lynne 11-02-2010 01:53 PM

addiitional.css is a template. It's in the CSS Templates group.

paulnicholson 11-07-2010 02:22 PM

Can you give me a clue as to how to find that please?

Lynne 11-07-2010 02:35 PM

Style Manager > find style > Edit Templates > double-click on CSS Templates group and it's right there.

oxide11 03-05-2011 09:58 AM

Nice one can you give me a more functions info where i can manage widgets by addiitional.css.
For example how to remove the icon from widgets.. can i do it form additional.ccs ?

Lynne 03-05-2011 03:42 PM

You would have to edit the template for the widget to remove the image.

wombycat 10-01-2011 06:11 PM

I'm trying to get rid of the lines below from Version 4.1.6

http://reactgaming.net.au/images/misc/help.jpg

I tried this

Quote:

Originally Posted by Lynne (Post 2117007)
I'm not sure exactly what you want (an image always helps), but the border is defined in ".cms_widget", so you can add this to additional.css to get rid of it:
HTML Code:

.cms_widget {border:none;}

so that my additional.css template looked like this below

Code:

div.steamprofile{
float:right;
display:block;
z-index:300;
}
.cms_widget {border:none;}

Is that what you meant or was I being to literal?

Lynne 10-01-2011 10:17 PM

That looks correct. Did you try it?

wombycat 10-01-2011 10:58 PM

Quote:

Originally Posted by Lynne (Post 2252126)
That looks correct. Did you try it?

Yep that is currently in the additional.css on this site

I'm not very skilled with vbulletin, giving myself a crash course. Is it possible that the style I am using is preventing me from removing them?

In the mean time I will test it on another style.

EDIT: Version 4.1.6

Lynne 10-02-2011 02:32 AM

No, I was referring to the article you were talking about that is about modifying the template. I seem to recall they then post the plugin code. My vB4 article has the same plugin code in it.

wombycat 10-02-2011 10:13 AM

What I did to remove the borders was create different template code for both vbcms_widget_static_page and vbcms_widget_execphp_page. These are the two template I created:

vbcms_widget_static_page_raw:
Code:

{vb:raw static_html}
and
vbcms_php_raw:
Code:

{vb:raw output}
so

vbcms_widget_static_page ---> vbcms_widget_static_page (in the static html widget)

vbcms_widget_execphp_page ---> vbcms_php_raw (in the PHP direct execution)

These will stripe the widgets down to just content as seen here

As for the navigation I could not work it out, so I just used an alternative navigation method :)

DavoteK 11-17-2011 01:03 PM

@wombycat: Legend, nice one. Worked perfectly.

Mondi 03-27-2012 07:47 PM

Outstanding post - just what I was looking for!

Quick one: Any suggestions how to make the 'Menu' borderless as well?

[Section Navigation- JS enhanced - 'vbcms_widget_sectionnavext_page' template?]

Thanks heaps in advance!


All times are GMT. The time now is 05:04 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01045 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete