The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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? |
#2
|
||||
|
||||
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! |
#3
|
||||
|
||||
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.) |
#4
|
||||
|
||||
another excellent tip by Lynne , i always appreciate your gr8 help and share of your knowledge
|
#5
|
|||
|
|||
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? |
#6
|
|||
|
|||
Bump
|
#7
|
||||
|
||||
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.
|
#8
|
|||
|
|||
it is www.swiatwenus.pl
|
#9
|
||||
|
||||
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?
|
#10
|
|||
|
|||
You don't see this gap, because I deleted tjis DIV from my site.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|