SMFHacks.com

SMF Gallery Lite => SMF Gallery Lite => Topic started by: rbh on October 04, 2006, 10:56:30 pm

Title: editing color layout
Post by: rbh on October 04, 2006, 10:56:30 pm
i know it uses the forums css stylesheet but the colors i have do not work with this gallery. i have black for a table color or something that the gallery uses and makes it god awful ugly. anyways, is there a way to manually change certain colors just in the gallery?
Title: Re: editing color layout
Post by: SMFHacks on October 04, 2006, 11:07:58 pm
That would require editing the template either changing all the class= to another sytlesheet class with the colors you use.
Title: Re: editing color layout
Post by: rbh on October 04, 2006, 11:16:21 pm
hmmmmmmm, anyway you could list what it uses from the forums stylesheet so i could just copy those parts and edit as needed? would that work?
Title: Re: editing color layout
Post by: rbh on October 04, 2006, 11:21:57 pm
here are two screenshots showing you how nasty this thing looks. it uses parts of my forum color settings that isnt close to what my forum looks like. the only thing black is maybe the borders, and some of the wording for cats and boards. if i could just change this black to something else it would probably be fine.
Title: Re: editing color layout
Post by: SMFHacks on October 04, 2006, 11:27:10 pm
I need to see a url to see the code it uses.
Title: Re: editing color layout
Post by: rbh on October 04, 2006, 11:29:49 pm
http://www.redneckrefuge.com/refuge/index.php?action=gallery
Title: Re: editing color layout
Post by: SMFHacks on October 04, 2006, 11:31:12 pm
Three style classes the gallery uses are
tborder
catbg
windowbg2
Title: Re: editing color layout
Post by: SMFHacks on October 04, 2006, 11:32:31 pm
http://www.redneckrefuge.com/refuge/index.php?action=gallery
Can't veiw it not allowed to view gallery.
Title: Re: editing color layout
Post by: rbh on October 04, 2006, 11:39:52 pm
ok, guests can view now i think. i set it to allow it anyways. i am heading for bed but will look at the gallery.template.php tomorrow and try some changes. so far i really like this mod and it may be what i was looking for. i have coppermine already but this may be perfect for product reviews like what i was asking about awhile back. thanks for the help!
Title: Re: editing color layout
Post by: SMFHacks on October 04, 2006, 11:42:33 pm
Just took a look seems to be because of tborder class stylesheet. I notice it is black on the forums you use as well. I would suggest doing a find and replace for class="tborder" in gallery.template.php and make up a new class that would work for the gallery and add it to the stylesheet
Title: Re: editing color layout
Post by: rbh on October 04, 2006, 11:45:12 pm
ill give it a go tomorrow. thanks for the help. i am sure i will have plenty more questions tomorrow as i continue tweaking this mod for my needs. ;D
Title: Re: editing color layout
Post by: rbh on October 04, 2006, 11:47:11 pm
just so i will know, do i need to change all instances of tborder in the template? it is there quite a few times. i'm sure i will figure it out when i take the time to look but i thought i would post the question now.
Title: Re: editing color layout
Post by: SMFHacks on October 04, 2006, 11:51:09 pm
Yeah you would. That's why i suggest to do find and replace all to save some time.