View Full Version : Error creating a layout for homepage using CMS.
Jakub03
01-15-2012, 01:53 AM
Hello,
I have an issue while i was creating the home page. I am pretty sure i did the right steps.
1. I created a new grid in the ACP. I title it "full page + 160px right bar" Side Bar = yes, location = right, width = 160px, column = 1 Column (100) > save
2. I create a widget called advertisement > configure > add HTML code
3. I go to layout manager > ad new layout > I title it Home Page > Grid = "full page + 160px right bar" > make the primary content ( colored in red) be displayed in the main block where it spans the whole page > click add advertisement and drag it to the side bar > save
4. Go to home page > edit > select "home page " layout > apply > save
and when i go to home page it shows 2 columns and i have no idea why. Any help?
This is link to home page = http://mypokerhub.com/content.php
Please help me out ;)
Lynne
01-15-2012, 02:14 AM
It shows two columns because you picked to have a Sidebar (that's one column) and then 1 column (total of two columns).
Jakub03
01-15-2012, 02:34 AM
Yea but since its a sidebar 160px should it only take over 160px?
--------------- Added 1326601786 at 1326601786 ---------------
Now i know something is messed up with the CMS, when i choose no sidebar and select 2 colums (75/25)
It shows 3 columns and it flips it and makes it 25/75...
When i choose 1 column 100 no sidebar it still only goes about 70% of the page and has a huge space on the right like if a side bar existed.
--------------- Added 1326610130 at 1326610130 ---------------
any idea on how to fix?
Lynne
01-15-2012, 04:29 PM
I think your style is messed up. All the CMS stuff is inside your ad div which should have been closed before the notices div. Try removing the ads perhaps and see if that fixes things. Or try using a totally default style.
LifesGreatestGift
01-15-2012, 06:38 PM
Definitely an issue with the sidebar code not actually being in the sidebar dom element. It's fixable, just need to figure out where that stray div is or isn't.
Jakub03
01-15-2012, 06:48 PM
Well now i know the problem you guys see totally diffident thing. I guess this is where the confusion came in. I dont see it set up like you go greatestgift. When i go on site it shows this
https://vborg.vbsupport.ru/external/2012/01/52.png
LifesGreatestGift
01-15-2012, 06:52 PM
Its messed up for me too, i just did a live edit of the source code to make it look 'normal'.
Jakub03
01-15-2012, 06:52 PM
I decided I will make the layout that I want which is just a full page and a 160px side bar on the right side. I took a picture of each step.
https://vborg.vbsupport.ru/external/2012/01/50.png
This is how page looks.
https://vborg.vbsupport.ru/external/2012/01/51.png
You can go to http://mypokerhub.com/content.php to see this yourself :)
Why is the 160px side bar show up as half the page????
--------------- Added 1326682232 at 1326682232 ---------------
anybody have any tips on how to fix this?
--------------- Added 1326682291 at 1326682291 ---------------
anybody have any tips on how to fix this?
--------------- Added 1326736849 at 1326736849 ---------------
*bump* :)
Lynne
01-16-2012, 10:02 PM
You are not listening to us. This has nothing to do with the grids or layout in the CMS. It has to do with your style. You have an unclosed <div> because of something around your ad code and that is what is messing everything up.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.