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 »

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: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: How to delete side column

Post by Thorsten »

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 »

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: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: How to delete side column

Post by Thorsten »

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