How to delete side column

You made an own skin or theme for phpMyFAQ. You can share it here with others!

Moderator: Thorsten

Post Reply
mresailor
Posts: 7
Joined: Sun Mar 13, 2011 9:48 pm

How to delete side column

Post by mresailor » Sun Mar 13, 2011 9:52 pm

How can I delete one of the side columns? When I take out the html, there still appears to be a place holder so the main display doesn't flow across the rest of the screen. I want my faqs to run down the left side and the main content to display in the rest of the browser window.

Thanks

Thorsten
Posts: 14793
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: How to delete side column

Post by Thorsten » Mon Mar 14, 2011 7:47 am

Hi,

you have to edit the CSS code as well.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

mresailor
Posts: 7
Joined: Sun Mar 13, 2011 9:48 pm

Re: How to delete side column

Post by mresailor » Mon Mar 14, 2011 4:37 pm

I've been fooling with that, but am not really good with CSS, I can't get the main page to extend over where the right column used to be before I deleted the html.

What's controlling that?

Thorsten
Posts: 14793
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: How to delete side column

Post by Thorsten » Mon Mar 14, 2011 4:56 pm

Hi,

it's in template/default/style.css:

Code: Select all

/* Main columns definitions */
.leftcolumn { float: left; left: 0px; width: 200px; margin-bottom: 1em; }
.rightcolumn { position: static; float: right; width: 200px; margin-bottom: 1em; }
.rightcolumn ol { margin: 0 0 0 25px; padding: 0; }
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Post Reply