PDA

View Full Version : fixed style for 4.0


vidan
17 Nov 2009, 00:18
anyone got an idea to do a fixed style in all 4.0?

--------------- Added 1258463004 at 1258463004 ---------------

hello need help on fixed style? no documentation?

Seven Skins
17 Nov 2009, 13:47
Style and templates > stylevars > common > doc_width ... units:px ... size:980

And

Find in vbulletin.css template:

margin-{vb:stylevar left}:{vb:stylevar doc_margin};
margin-{vb:stylevar right}:{vb:stylevar doc_margin};

Replace it with:
margin-{vb:stylevar left}:auto;
margin-{vb:stylevar right}:auto;

.

volgan
21 Nov 2009, 22:53
where is the vbulletin.css located at i cannot find it anywhere O_O?

Lynne
21 Nov 2009, 23:01
where is the vbulletin.css located at i cannot find it anywhere O_O?
It's a template.

Eq4bits
23 Nov 2009, 21:44
admincp>Styles & Templates>Styles Manager
then choose what style you want to edit by choosing 'edit' templates' in the dropdown
then find vbulletin.css in the list (it's down near the bottom)
double click it
and follow the directions Lynne provided.

hyperspin
27 Nov 2009, 22:12
I'm trying to do a fixed width centered theme. I can't seem to find the below in vbulletin.css

margin-{vb:stylevar left}:{vb:stylevar doc_margin};
margin-{vb:stylevar right}:{vb:stylevar doc_margin};

Any suggestions?

Lynne
27 Nov 2009, 22:21
I'm trying to do a fixed width centered theme. I can't seem to find the below in vbulletin.css

margin-{vb:stylevar left}:{vb:stylevar doc_margin};
margin-{vb:stylevar right}:{vb:stylevar doc_margin};

Any suggestions?
It is not there in beta 4 which is what you should be running now.

hyperspin
27 Nov 2009, 22:40
It is not there in beta 4 which is what you should be running now.Yah, I'm running beta 4 right now. I figured that's why I didn't see it. How do you go about this in b4?

I have tried entering auto for both left and right under doc_margin

vidan
02 Dec 2009, 18:38
yes its true, anyone know fixed style for vb 4 beta 4?
why it change the code from beta 3 to beta 4

Lynne
02 Dec 2009, 18:41
The next release for vb4 is coming soon. Just wait for it and perhaps the problem will be fixed then. (You can check the bug tracker and see the status to see if it will be fixed in the next release.)

Attitude5ire
02 Dec 2009, 20:27
Should wait until it gets to RC1 before skinning starts, the vb4 is full div's and css. very extensively implemented, thought it gives great advantage over every detail customization.. the process and process of upgrades is very lengthy. Plus there are many section which have incomplete css or commented out for future releases or fixes.

vidan
07 Dec 2009, 18:49
anybode care to share fixed style for vb 4.0 beta 5?

--------------- Added 1260238671 at 1260238671 ---------------

heloooooooooooooooooooo

--------------- Added 1260297144 at 1260297144 ---------------

Fixed Style For Vb 4.0 Beta 5?

vidan
09 Dec 2009, 21:24
no fixed style in vb4 beta 5?

Lynne
09 Dec 2009, 21:45
no fixed style in vb4 beta 5?
Have you tried looking at the stylevars? There is one called doc_width. Have you tried that?

LPH2004
12 Dec 2009, 19:22
Have you tried looking at the stylevars? There is one called doc_width. Have you tried that?

I tried the stylevars in RC2 - but the forums shift to the left and not centered. I'll keep tinkering because I'm starting to enjoy vb4 ;)

masonox
14 Dec 2009, 00:40
I tried the stylevars in RC2 - but the forums shift to the left and not centered. I'll keep tinkering because I'm starting to enjoy vb4 ;)

I have the same problem came here to find a solution :) I set the left and right to auto, but it just remains left.

dtommy79
14 Dec 2009, 01:20
Change it in vbulletin.css

Find 'margin' in body, and change the value to 'auto'

alawee.blawee
14 Dec 2009, 02:29
Change it in vbulletin.css

Find 'margin' in body, and change the value to 'auto'

I have the same problem came here to find a solution :) I set the left and right to auto, but it just remains left.


are you using the IE? the IE holds the problems with the alignment try chrome or fox