Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-18-2011, 07:43 PM
TheRealso0sick's Avatar
TheRealso0sick TheRealso0sick is offline
 
Join Date: Aug 2010
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Extend Header+Navbar

Hi,
so i have been looking forever to find this value
but can't seem to find it, so i hope one of you guys
can help me out.

What it looks right now:
Attachment 1

What i'm trying to do is to extend the width of the header & navbar (1)
but still keep the width of the forum to its original size (2)

Here is what i want it to look like in the end

Attachment 2

Anyone got a tip for me
on how to do this?

Any help is appreciated!

Regards,
HSB.
Attached Images
File Type: jpg blaaaa.jpg (48.7 KB, 0 views)
File Type: jpg bllla.jpg (47.5 KB, 0 views)
Reply With Quote
  #2  
Old 06-18-2011, 08:18 PM
Frosty Frosty is offline
 
Join Date: Apr 2011
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://i.imgur.com/D5XRC.png" target="_blank">http://i.imgur.com/D5XRC.png</a> - Want it to look like that? I can attach the XML or write the edits you need to do.
Reply With Quote
  #3  
Old 06-18-2011, 08:25 PM
TheRealso0sick's Avatar
TheRealso0sick TheRealso0sick is offline
 
Join Date: Aug 2010
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Frosty View Post
http://i.imgur.com/D5XRC.png - Want it to look like that? I can attach the XML or write the edits you need to do.
Yes, almost exactly like that
but i need to extend it over the whole size of the page.
(including the grey body, on your screenshot)
Reply With Quote
  #4  
Old 06-18-2011, 08:32 PM
Frosty Frosty is offline
 
Join Date: Apr 2011
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

http://i.imgur.com/7lX3q.png - It's full width now.

Anyhow,
Go to your Admin Panel, then go in your Style Manager, pick your style...

Pick the "StyleVars" option from the drop-down menu...

Spacer size: replace with "0".
Go to Main CSS of your style, edit "Extra CSS Attributes" of the "body" div.

Replace them with this:
margin: 0px;
padding: 0px;


Save....

Go to NAVBAR template, add this at the end of it:
<div style="padding: 20px;">

Save..

Go to FOOTER template, add this at the end:
</div>

That's all!
Reply With Quote
Благодарность от:
TheRealso0sick
  #5  
Old 06-18-2011, 08:40 PM
TheRealso0sick's Avatar
TheRealso0sick TheRealso0sick is offline
 
Join Date: Aug 2010
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Frosty!

It's now like you showed me on your first screenshot.
What did u edit to get it to the full width?
Reply With Quote
  #6  
Old 06-18-2011, 08:49 PM
Frosty Frosty is offline
 
Join Date: Apr 2011
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wrote you how to do it, just go to the Main CSS of your style, and replace the old values with the new ones..

Screenshot: http://i.imgur.com/2v7Mh.png

The area where I've marked "margin: 0px; padding: 0px;" , you should replace old values with those...

Rest of it is pretty easy.
Reply With Quote
  #7  
Old 06-18-2011, 08:55 PM
TheRealso0sick's Avatar
TheRealso0sick TheRealso0sick is offline
 
Join Date: Aug 2010
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did it exactly like you said, but still it isn't the full width
on the navbar :'(
Reply With Quote
  #8  
Old 06-18-2011, 08:58 PM
Frosty Frosty is offline
 
Join Date: Apr 2011
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you made all edits? I've included my XML, and you can see the edits that were made to the style:
- NAVBAR template edit
- FOOTER template edit
- StyleVars edit
- Main CSS, body edit
Attached Files
File Type: xml heart-shaped-box.xml (20.6 KB, 2 views)
Reply With Quote
  #9  
Old 06-18-2011, 09:30 PM
TheRealso0sick's Avatar
TheRealso0sick TheRealso0sick is offline
 
Join Date: Aug 2010
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works with ur imported xml,
but not if i change it manually.

It's probably another value messing with it,
cuz the style was costumized before.
Ill look for it..

Thanks for your help Frosty
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 01:43 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03985 seconds
  • Memory Usage 2,264KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (1)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete