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

Reply
 
Thread Tools Display Modes
  #1  
Old 10-30-2010, 12:41 PM
SwiatWenus.pl SwiatWenus.pl is offline
 
Join Date: Jun 2010
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Totally stupid question ;)

Hi.
I've got a question probably stupid for most of You, but I just started to learn webdesigning. I know html & css quite well, but I can't make some changes to my forum.

My forum (www.swiatwenus.pl) was made by a company, not by me. Now I want to make some changes (well... I made few in a CSS) but there is something more. I want to add a new DIV to my page. How to do it? I know how to make a stylesheet for it and all what I need, but I do not know how to add a new DIV. I looked in AdminCP and tried to add a new collumn and row, but it doesn't work. Can anyone tell me which file do i have to change and put a DIV in it?
Reply With Quote
  #2  
Old 10-30-2010, 01:58 PM
YankForum's Avatar
YankForum YankForum is offline
 
Join Date: Mar 2010
Location: MY
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you should add your <div>something</div> to your forumhome template here : styles>edit styles>forumhome template.
you can also use css or put your css codes inside the DIV tag like this :
<div style="something;">your desired text or images or whatever else</div>
-----
edit : i thought you want the div to appear on forum home page!
Reply With Quote
  #3  
Old 10-30-2010, 02:04 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your page is made up of templates. So, it's a matter of finding the correct template that you want to add the code to.

To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)
Reply With Quote
  #4  
Old 10-30-2010, 02:11 PM
YankForum's Avatar
YankForum YankForum is offline
 
Join Date: Mar 2010
Location: MY
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

another excellent tip by Lynne , i always appreciate your gr8 help and share of your knowledge
Reply With Quote
  #5  
Old 10-30-2010, 02:57 PM
SwiatWenus.pl SwiatWenus.pl is offline
 
Join Date: Jun 2010
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanx Guys! I enjoy Ypur help

--------------- Added [DATE]1288462383[/DATE] at [TIME]1288462383[/TIME] ---------------

OK. I made a DIV ID called space1. I put it to the header in Style Manager. Here are the CSS atributes gor DIV ID:

#space1 {
z-index: 999;
-moz-border-radius: 15px;
border: 1px solid white;
float: right;
margin-top: 30px;
margin-left: 200px;
width: 115px;
height: 115px;
}

And here is the problem... It separates other DIV's. Look at the pictuture:



What should I do?
Reply With Quote
  #6  
Old 11-02-2010, 07:30 AM
SwiatWenus.pl SwiatWenus.pl is offline
 
Join Date: Jun 2010
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump
Reply With Quote
  #7  
Old 11-02-2010, 01:56 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We'd need a link to the style/site in order to see what is going on. It looks like you have either margin or some padding somewhere that you need to remove.
Reply With Quote
  #8  
Old 11-04-2010, 10:58 AM
SwiatWenus.pl SwiatWenus.pl is offline
 
Join Date: Jun 2010
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it is www.swiatwenus.pl
Reply With Quote
  #9  
Old 11-04-2010, 01:43 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not seeing a big gap like that when I go to this forum - http://swiatwenus.pl/forumdisplay.php/27-Moda Is it only in some forums? Or did you fix it?
Reply With Quote
  #10  
Old 11-04-2010, 07:32 PM
SwiatWenus.pl SwiatWenus.pl is offline
 
Join Date: Jun 2010
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You don't see this gap, because I deleted tjis DIV from my site.
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:23 PM.


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.04473 seconds
  • Memory Usage 2,244KB
  • Queries Executed 11 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete