Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: help needed: theme customization  (Read 4741 times)

0 Members and 1 Guest are viewing this topic.

Dragon

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 9
  • My coppermine gallery: http://foto.davinia.nl
    • Davinia.nl
help needed: theme customization
« on: February 17, 2007, 01:00:55 pm »

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
« Last Edit: February 20, 2007, 10:04:51 pm by Nibbler »
Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: help needed: theme customization
« Reply #1 on: February 18, 2007, 01:39:27 pm »

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.

Code: [Select]
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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 9
  • My coppermine gallery: http://foto.davinia.nl
    • Davinia.nl
Re: help needed: theme customization
« Reply #2 on: February 18, 2007, 08:43:49 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.
Logged

Dragon

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 9
  • My coppermine gallery: http://foto.davinia.nl
    • Davinia.nl
Re: help needed: theme customization
« Reply #3 on: February 18, 2007, 10:14:50 pm »

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
Logged

Chylly Kayza

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 35
  • trying to be gentle
    • Chylly Kayza
Re: help needed: theme customization
« Reply #4 on: February 19, 2007, 09:17:32 pm »

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
Logged

Dragon

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 9
  • My coppermine gallery: http://foto.davinia.nl
    • Davinia.nl
Re: help needed: theme customization
« Reply #5 on: February 19, 2007, 10:55:02 pm »

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
Logged

Chylly Kayza

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 35
  • trying to be gentle
    • Chylly Kayza
Re: help needed: theme customization
« Reply #6 on: February 19, 2007, 11:36:04 pm »

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
Logged

Dragon

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 9
  • My coppermine gallery: http://foto.davinia.nl
    • Davinia.nl
Re: help needed: theme customization
« Reply #7 on: February 19, 2007, 11:48:05 pm »

zipped and mailed... thanks in advance
Logged

Chylly Kayza

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 35
  • trying to be gentle
    • Chylly Kayza
Re: help needed: theme customization
« Reply #8 on: February 20, 2007, 01:47:15 am »

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
Logged

Dragon

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 9
  • My coppermine gallery: http://foto.davinia.nl
    • Davinia.nl
Re: help needed: theme customization
« Reply #9 on: February 20, 2007, 07:30:51 pm »

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.
Logged

Chylly Kayza

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 35
  • trying to be gentle
    • Chylly Kayza
Re: help needed: theme customization
« Reply #10 on: February 20, 2007, 09:28:32 pm »

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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fchylly.mine.nu%2Fdavinia.gif&hash=c869fc157afb2cdc6ed377e479fc2211e8f52394)
Logged

Dragon

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 9
  • My coppermine gallery: http://foto.davinia.nl
    • Davinia.nl
Re: help needed: theme customization
« Reply #11 on: February 20, 2007, 10:00:52 pm »

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

I guess this topic can be classified as SOLVED
Logged

Chylly Kayza

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 35
  • trying to be gentle
    • Chylly Kayza
Re: help needed: theme customization
« Reply #12 on: February 20, 2007, 10:18:44 pm »

 ;)
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 20 queries.