View Full Version : Totally stupid question ;)
SwiatWenus.pl
10-30-2010, 12:41 PM
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?
YankForum
10-30-2010, 01:58 PM
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!
Lynne
10-30-2010, 02:04 PM
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.)
YankForum
10-30-2010, 02:11 PM
another excellent tip by Lynne , i always appreciate your gr8 help and share of your knowledge :)
SwiatWenus.pl
10-30-2010, 02:57 PM
Thanx Guys! I enjoy Ypur help ;)
--------------- Added 1288462383 at 1288462383 ---------------
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:
http://img248.imageshack.us/img248/7500/60052615.png
What should I do?
SwiatWenus.pl
11-02-2010, 07:30 AM
Bump :)
Lynne
11-02-2010, 01:56 PM
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.
SwiatWenus.pl
11-04-2010, 10:58 AM
it is www.swiatwenus.pl
Lynne
11-04-2010, 01:43 PM
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?
SwiatWenus.pl
11-04-2010, 07:32 PM
You don't see this gap, because I deleted tjis DIV from my site.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.