Several Questions about WPG2 / gallery2

Ezeke

Joined: 2008-03-03
Posts: 9
Posted: Sun, 2008-04-27 15:07

Hi, I installed the beta of the new WPG2 and the newest version of WP(2.5.1).

The link to my gallery in WP2: http://blog.nudelh0lz.de/wpg2

Now i got the following problems:
1.The font size in the gallery is a MESS as you can see, the main font is way too big, i tried altering the font size in the matrix theme css but it only changed parts of the fonts...

2. I want to keep my Gallery2 sidebar (so people can use functions such as search, latest comments, etc.)but I dont know how to get it back...

3. I want to change the first link of my gallery so that it leads to my main blog page, i only found a solution for an older gallery version...

4. I can't get the rewrite mod to work, if i understand it right then it wants me to create a .htaccess file, but I just couldn't find a tutorial about what that exactly means...

5. also the shadows at my gallery are fucked up... youll see what I mean when you visit my page

6. I'm using the K2 Theme and I want to rename the link under the banner (WPG2), but I dunno how to do that...

These are my worst problems atm :P I hope someone can help me.

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Mon, 2008-04-28 01:34

Hiya Ezeke,

Most of your questions can be answered by reading the following information..

Regarding your Font & Layout Display issues please have a read of this link
Reading the Gallery2 Rewrite Module -> Please have a read of this link

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo

 
Ezeke

Joined: 2008-03-03
Posts: 9
Posted: Tue, 2008-04-29 15:56

I read your link regarding the layout issues and I still couldn't fix all of my problems... so I'm going to quote my own problems and describe what I tried...

Quote:
1.The font size in the gallery is a MESS as you can see, the main font is way too big, i tried altering the font size in the matrix theme css but it only changed parts of the fonts...

I created a custom wpg2header and wpg2.css, I also used firebug to see which css file is altering the font in my galley - and no matter what font values I changed, I was only able to change the font size of the links at the the top of the gallery, nothing else.

Quote:
2. I want to keep my Gallery2 sidebar (so people can use functions such as search, latest comments, etc.)but I dont know how to get it back...

I only found out how to remove the g2 sidebar when viewing a single picture, but I want it to be displayed when viewing my albums, I dunno how to do that...

*update*
got my sidebar back by using a different theme...

Quote:
3. I want to change the first link of my gallery so that it leads to my main blog page, i only found a solution for an older gallery version...

I can't find that part in my theme.tpl

<div class="gbBreadCrumbhome">
<a href="/"> {g->text text="Home"}</a>
</div>

the only thing I found which would come close to it is

<div class="gbBreadCrumb">

{g->block type="core.BreadCrumb"}

</div>

that's why assumed that the tweaking which is posted here: http://www.galleryembedded.com/forums/viewtopic.php?p=13933&sid=e99ac34e39192c680af189be1b1d1eaa#13933
only works with an older version of g2...

Problems 4,5 and 6 are solved/not that much of a problem atm

 
ryanmc

Joined: 2006-10-15
Posts: 72
Posted: Thu, 2008-05-01 16:16

I am having the same problem as the above posters #1 issue. My gallery is at http://www.ryansworld.com/blog/wpg2-2
When I integrate gallery into Wordpress the fonts are all messed up. I have used Firebug to identify several styles to change. So far I have found these.

<style type="text/css">
#gallery {font-size:85%;}
#gsSidebar {font-size:10px;}
#gsContent {font-size:10px;}
.giTitle, #gallery h2 {font-size:0.8em;}
.giDescription {font-size:0.7em;}
.giInfo {font-size:0.6em;}
#gallery select {font-size:0.6em;}
</style>

However, some of the changes that make the main page look good cause other pages to look bad.
For example #gallery select {font-size:0.6em;} makes the album actions drop down look good on the album pages, but when you get to an image page it make the resize drop down look really small.

Also, having to identify styles one by one is a real pain. There could potentially be dozens of styles that I have to change. But, I am unable to identify an overriding style that is causing my problems. If I comment out my WP styles it fixes the small text but everything else is still huge.

If anyone has a suggestion I would appreciate it.

 
ryanmc

Joined: 2006-10-15
Posts: 72
Posted: Fri, 2008-05-02 15:00

Nevermind, I upgraded to WPG2 3.0.5 and things look much better. Now I only need to adjust #gallery {font-size:85%;} and all the text is the correct size.

 
stickboy11

Joined: 2008-05-02
Posts: 10
Posted: Tue, 2008-05-06 10:59

I found the tutorials pretty helpful. I was wary, as they hadn't been updated since March, 2007 (over a year ago!) that something may have been different in the way WPG2, Wordpress, or Gallery worked, but there were no problems.

CSS is a tricky son of a bitch! I'm decent at working through it all, but one thing I just can't get the hang of is how the font sizes affect each other when they get inherited. See that's getting away from the computer science stuff and more into the design stuff (yuck!). Ems, and %s, etc... they're not so straightforward when you start cascading and inheriting.

I got my WPG2 to look pretty nice after making a custom header, custom style sheet, etc. Everything looks good BUT the fonts are huge. Some day I'll have more time to fix that.

Have a look:
http://alaninkenya.org/
http://alaninkenya.org/photos

Anyways... keep hacking away. :)