PDA

View Full Version : Alignment issues with cmps content


maxintw
10-14-2009, 10:43 PM
Hi,

I've recently installed a new skin on my forum and homepage. The cmps content is misaligned to the right. It's misaligned on both the homepage (index_cmps.php) and on forumhome. Vbulletin products and plugins remain centered.

I have another skin, and it doesn't have this problem.

I'm running Vbulletin 3.6.5
Vbadvanced CMPS 3.2.1

I'm aware that it could possibly be a skin issue. But, since it's only the cmps content that's misaligned (although it's aligned just fine, relative to itself), I'm wondering if there might be something I could adjust in cmps to compensate for the misalignment.

As for the troubleshooting steps I've taken thus far, I'll list them here:

1.) Install another instance of the skin without parent style. (Same issue)

2.) Verify that table alignment=center in adv_portal. (It is)

3.) Tried to align main table to the left in adv_portal (nothing moved).

Any suggestions?

Thanks in advance!

Brian
10-15-2009, 12:03 PM
Looks like you need to edit the style and remove this code from yoru '.page' CSS class.

margin-left: 30px;
margin-right: 30px;

Our Sponsors
 

maxintw
10-15-2009, 02:25 PM
Looks like you need to edit the style and remove this code from yoru '.page' CSS class.

margin-left: 30px;
margin-right: 30px;

What a genius, thanks Brian! It worked nicely.

This might sound like a dumb question after the fact, but, if that CSS called for the equal margins on both sides, why did it decide to slide right like that?:confused:

Hi-Jack
10-20-2009, 07:32 AM
I think i'm suffering from the same issue... Where is this '.page' CSS class?

Our Sponsors
 

Hi-Jack
10-20-2009, 08:20 AM
Ok, seems i had a different issue. Found it. Just in case someone else experiences the issue:

Go to Admin CP and select Styles & Templates
Choose "All Style Options" for the style in use and scroll down to "Sizes & Dimensions"
Change the spacer size variable.

This is responsible for leaving a certain amount of px between the end of your content and the page border. It was set to 20 or 25 default while the width of my table needed more space... and it caused the table to be printed without the last column...