Double Paragraph to Single Double Paragraph to Single
 

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

Main Menu

Double Paragraph to Single

Started by mibgeneral, June 08, 2006, 10:05:15 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

mibgeneral

Hi again,
I upgraded to 1.4.8 and I can't figure the way to change the main page Category to Single paragraph instead of Double paragraph.
I want it to be like this:

Category

Models
Music
Music Videos
Misc. Photos

Instead of:

Category

Models

Music

Music Videos

Misc. Photos

Thanks so much in advance...
http://www.hinhonline.com/gallery/index.php

Tracy

Dr Preacox

Pretty easy

just edit /themes/theme.php
search the website for the documents about theming
if you cannot find the code within your theme.php you will have to copy it across from /themes/sample/theme.php
My Mods:
Making Memberlist Public - VIEW
Different Way of Displaying Categories - VIEW
Coming Soon - Automated Sub Domains -MOD

Sami

you should edit style.css ({gallery folder}\themes\classic\style.css)
go to line 221~228 and find these .catrow_noalb {
        background: #D1D7DC ;
        color : #000000;
        padding-top: 3px;
        padding-right: 10px;
        padding-bottom: 3px;
        padding-left: 10px;
}

then change the value of padding-top to 0 and also padding-bottom to 0
that's it you are done  ;)
‍I don't answer to PM with support question
Please post your issue to related board

Dr Preacox

Oh wow, theres an easy way, I did mine through my theme.php, wish I had of checked the CSS, I always do the hard way first
My Mods:
Making Memberlist Public - VIEW
Different Way of Displaying Categories - VIEW
Coming Soon - Automated Sub Domains -MOD

mibgeneral

Thanks all very very much... ;)

Best,

Tracy

mibgeneral

Somehow it doesn't work when I changed in .catrow_noalb, but will work on .catrow, but can it be -3px?

Thanks

Tracy

.catrow_noalb {
        background: #D1D7DC ;
        color : #000000;
        padding-top: 3px;
        padding-right: 10px;
        padding-bottom: 3px;
        padding-left: 10px;
}

.catrow {
        background: #EFEFEF ;
        padding-top: 0px;
        padding-right: 10px;
        padding-bottom: 0px;
        padding-left: 10px;

Sami

#6
No, it can't be negative value.
try catrow_noalb too set the top and bottom padding value to '0' , it will make it thinner , if you have not any album on this cat ;)
I'm not sure if it can get smaller than that ...
‍I don't answer to PM with support question
Please post your issue to related board