help needed: theme customization help needed: theme customization
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

help needed: theme customization

Started by Dragon, February 17, 2007, 01:00:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dragon

I customized the greenflower theme to fit my website and I think it turned out quite nice, but....

I plan on making a pretty large collection of photo's and the space between category links is pretty big. I'd like the categorylist to be a lot more compressed. But where do I change this?

I've got an example
It's like this now (notice the space indicated by the arrow): http://www.davinia.nl/extern/web.gif
And this is more or less like i'd want it to be (of course this is photoshopped pretty bad, but I think you get the idea): http://www.davinia.nl/extern/web2.gif

Gizmo

Sometimes photos aren't worth a 1000 words and it's hard to discern what the actual problem is from your photos so I'll take a guess and say to check the margin and padding in the h2 styling. This is located in the style_wp.css file.


h2,h3 {
font-size:1.5em;
color:#333300;
margin:0.5em 0;
padding:0.25em 0;
font-weight:normal;
}


I see that your gallery is offline but it would help to have access to it to better determine the issue.
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

Dragon

Quote from: Gizmo on February 18, 2007, 01:39:27 PM
I see that your gallery is offline but it would help to have access to it to better determine the issue.
It shouldn't be offline really, but my host is having some serverdifficulties so I'm not surprised.

But I'll check the h2 settings and let you know if that's what I meant.

Dragon

This is the code as it is in the original style_wp document:
h2 {
   font-size:12px;   
   color:#000000;
   margin:0.5em 0;
   padding:0.25em 0;
   font-weight:bold;   
}


And this is what I changed it into:

h2 {
   font-size:12px;   
   color:#000000;
   margin:0em 0;
   padding:0em 0;
   font-weight:bold;   
}


But it has no effect whatsoever.....  ??? Am I doing something wrong or what?

p.s. just checked my gallery, it should be online again. In fact, I didn't notice it being offline at all, but as said before the host is having trouble...

Link gallery: http://foto.davinia.nl

Chylly Kayza

Hi,

try to change the margin for post-content in the style_wp.css

.post-content
{
    margin:0;
    padding:0.2em 0;
}

because of :

<td class="post-content" align="left"><h2 class="post-title"><a href="index.php?cat=5">Kraanvogelachtigen</a></h2></td>


maybe its enough to change the margins for the post-title in the same css file.

Its just a suggestion, donĀ“t know if it works, but it should!

Regard
Richard

Dragon

It should, but it didn't

I found other margins in the style_cpg and that compressed the list a bit. But still not alot... :S

Chylly Kayza

ok, I played around with your css and template page, and it seems its the table structure in your theme.php

I guess its the tbody

zip your theme and send it over to me, i will try to fix it

you can find my e-mailad. in my profile

Dragon

zipped and mailed... thanks in advance

Chylly Kayza

ok, as I assumed its the table in the theme.php

its catrow_noalb and catrow

The space between the categories is mentioned for the description -> {CAT_DESC}

Add a short description in the categorie-editor at your adminpanel. I think its a better solution, because if you delete this
space, you will not have the possibility to add any description to a categorie (i assume) !

Hope I could help a little bit

Good Night

Dragon

Quote from: egosapienz on February 20, 2007, 01:47:15 AM
Add a short description in the categorie-editor at your adminpanel. I think its a better solution, because if you delete this
space, you will not have the possibility to add any description to a categorie (i assume) !
But if I'd want to delete it? how do I do that?? (more importantly... where)

Because there isn't any category where I would like to ad a description. It's pretty self explanatory (the folder birds, contains birds. The folder fish, contains fish, etc.). It's more important that it becomes a more compact list.

Chylly Kayza

hi,

add the bold lines to your css file style_wp.css:

.post-title
{
    font-size:15px;
    line-hight:15px;   
    border:none;
    margin:0;
    padding:0;
}
.post-title a:link, .post-title a:visited
{
    color:#000000;
    font-size:12px;
    line-hight:12px;
    border-bottom:none;
    margin:0;
    padding:0;
}

h2 { /* albumtitels bijv */
   font-size:12px;
      line-height:12px;   
   color:#000000;
   font-weight:bold;
       padding:0;
       margin:0;
}

It should look like the categories-rows in my testgalerie:
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fchylly.mine.nu%2Fdavinia.gif&hash=c869fc157afb2cdc6ed377e479fc2211e8f52394)

Dragon

Egosapienz, you are an absolute hero. Thanks so much, this is exactly what i meant.

I guess this topic can be classified as SOLVED

Chylly Kayza