PDA

View Full Version : fixed style for 4.0


vidan
11-16-2009, 10:18 PM
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
11-17-2009, 11:47 AM
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
11-21-2009, 08:53 PM
where is the vbulletin.css located at i cannot find it anywhere O_O?

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

Eq4bits
11-23-2009, 07:44 PM
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
11-27-2009, 08:12 PM
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
11-27-2009, 08:21 PM
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
11-27-2009, 08:40 PM
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
12-02-2009, 04:38 PM
yes its true, anyone know fixed style for vb 4 beta 4?
why it change the code from beta 3 to beta 4

Lynne
12-02-2009, 04:41 PM
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
12-02-2009, 06:27 PM
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
12-07-2009, 04:49 PM
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
12-09-2009, 07:24 PM
no fixed style in vb4 beta 5?

Lynne
12-09-2009, 07:45 PM
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-12-2009, 05:22 PM
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
12-13-2009, 10:40 PM
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
12-13-2009, 11:20 PM
Change it in vbulletin.css

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

alawee.blawee
12-14-2009, 12:29 AM
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