WPG2 + Wordpress Sidebar, Gallery2, is shown below the sidebar?

rasmuskarlsen

Joined: 2007-05-02
Posts: 55
Posted: Wed, 2007-12-26 22:57

Hey i have a little question... When viewing my site: http://karlsengroup.dk/index.php/galleri

My Gallery2 output is shown below the sidebar... First the sidebar was shown in the left side of the page... But i managed to get it to the right side, by changing this

Quote:
.columns-three #sidebar-main {
width: 200px;
}

to this:

Quote:
.columns-three #sidebar-main {
width: 200px;
left: 400px;
margin-left: 140px;
}

But how to i get the Gallery2 allignet to the top, right next to the sidebar?
I have tried everything, but nothing seems to work?

 
rasmuskarlsen

Joined: 2007-05-02
Posts: 55
Posted: Wed, 2007-12-26 23:10

I have already tried the Theme optimization guide (http://www.galleryembedded.com/forums/viewtopic.php?t=2108)
But with no luck, i don't what to change to solve my problem...

 
rasmuskarlsen

Joined: 2007-05-02
Posts: 55
Posted: Sat, 2007-12-29 21:46

No one?

 
rasmuskarlsen

Joined: 2007-05-02
Posts: 55
Posted: Sun, 2007-12-30 08:16

Okay i think i managed to get the sidebar alligned correctly...

The only problem is now that the sidebars content, goes under the page at the bottom... How can the page automatically be "Larger" when the sidebar expands? So the sidebar doesnt go under the page?

 
nater_guy

Joined: 2008-01-10
Posts: 2
Posted: Thu, 2008-01-10 00:28

what was the fix to get it on the side of the gallery?

Thanks!

 
evilkitchen

Joined: 2008-01-30
Posts: 1
Posted: Wed, 2008-01-30 17:26

I was having this same issue but have finally figured it out.

The end of my header file looks like this:

Quote:
<div id="wpg2content">

and the start of my footer file looks like this:

Quote:
</div>
<?php get_sidebar(); ?>

Moving the get_sidebar() to the footer seems to put everything on the page in the right order. You can see it in action here:

http://www.evilkitchen.ca/?page_id=1

Hope that helps some folks :)

ps: don't mind the default themes, I figured I'd get it all working and then worry about making it look pretty ;)