inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Feb 18, 2015 7:13:20 GMT -8
Stinky666 - dunno how much help I'd be, but I do notice that your CSS is off, should be background-color:, and you're missing the . before the "title-bar" class (should be .title-bar). Further, I'm not entirely sure. It's apparent the syntax is wrong, and if I had to guess it's with the .sub-board classification. I'm not 100% tho. Wow I can't believe I messed those two bits up. I seriously am rusty haha. I tried correcting and it's still the same results unfortunately.
|
|
inherit
217876
0
Mar 26, 2018 11:30:36 GMT -8
Haimovfids
426
January 2015
haimovfids
|
Post by Haimovfids on Feb 18, 2015 9:06:44 GMT -8
I hope we have a solution. Thanks for trying to help me.
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Feb 18, 2015 9:59:13 GMT -8
Shouldn't that be .container.boards.sub-board.category-1 > .title-bar instead of having spaces between each class?
Having spaces tells it that each different class is a child of an element in the previous class instead of addressing the container for that category specifically. You could even shorten it to .boards.category-1 > .title-bar since categories only exist on one page.
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Feb 18, 2015 10:13:56 GMT -8
Shouldn't that be .container.boards.sub-board.category-1 > .title-bar instead of having spaces between each class? Having spaces tells it that each different class is a child of an element in the previous class instead of addressing the container for that category specifically. You could even shorten it to .boards.category-1 > .title-bar since categories only exist on one page. As soon as I add a category ID, it stops the css from working. So far I can only make it apply to all , by using: .boards > .title-bar { background-color: #75c8e6 !important; color: #fdfdfd !important; } If I use what you said: .boards.category-1 > .title-bar { background-color: #75c8e6 !important; color: #fdfdfd !important; } Then using that it does not work anywhere for some reason, so targeting specific categories is strange
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Feb 18, 2015 10:18:11 GMT -8
Do you have the category ID specified anywhere in the template? Based on the HTML you posted there's no specific mention of the category ID anywhere.
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Feb 18, 2015 10:27:31 GMT -8
Do you have the category ID specified anywhere in the template? Based on the HTML you posted there's no specific mention of the category ID anywhere. I assume I am trying to add the wrong thing since categories only exist on one page. I am adding category-$[category.id] to the div I posted, The above cat ID is on the "home" template, but not where you said (board).
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Feb 18, 2015 10:31:38 GMT -8
The Home template would use $[category.id] within the foreach loop while the sub-boards within a board could use $[board.category_id] to get the same integer.
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Feb 18, 2015 10:38:12 GMT -8
The Home template would use $[category.id] within the foreach loop while the sub-boards within a board could use $[board.category_id] to get the same integer. OMG that makes perfect sense, of course it would have board in it. Wow. Ok that works and no extra css needed adding. Thank you Brian GREATLY that was driving me insane Ok so, Haimovfids, go to your Layout Templates > Board On line 2, change the following: <div class="container boards sub-board"> To this: <div class="container boards sub-board category-$[board.category_id]"> And that's it lol. So simple yet wow. No CSS needed, or it isn't on my test forum.
|
|
inherit
217876
0
Mar 26, 2018 11:30:36 GMT -8
Haimovfids
426
January 2015
haimovfids
|
Post by Haimovfids on Feb 18, 2015 11:15:12 GMT -8
Oooh thanks guys so much!! It looks wonderful. Thank you thank you thank you!!
|
|
Former Member
inherit
guest@proboards.com
111631
0
Nov 28, 2024 12:51:09 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Mar 27, 2015 20:49:42 GMT -8
very nice
|
|
inherit
218840
0
Oct 25, 2017 14:31:30 GMT -8
nsisco0818
3
February 2015
nsisco0818
|
Post by nsisco0818 on Aug 11, 2015 14:59:33 GMT -8
Stinky666, hai how do add colors to your different categories? I clicked on the links, but they didn't work.
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Aug 11, 2015 17:46:42 GMT -8
Stinky666, hai how do add colors to your different categories? I clicked on the links, but they didn't work. My sincere apologies. My host was dead, but I do have the files already on my friends. The links should now work
|
|
inherit
218840
0
Oct 25, 2017 14:31:30 GMT -8
nsisco0818
3
February 2015
nsisco0818
|
Post by nsisco0818 on Aug 11, 2015 18:28:48 GMT -8
Stinky666, hai how do add colors to your different categories? I clicked on the links, but they didn't work. My sincere apologies. My host was dead, but I do have the files already on my friends. The links should now work Thank you so much! It worked! Love this theme btw! <3
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Aug 11, 2015 19:12:33 GMT -8
My sincere apologies. My host was dead, but I do have the files already on my friends. The links should now work Thank you so much! It worked! Love this theme btw! <3 You're welcome,a nd excellent, I'm glad:D
|
|
inherit
226376
0
Nov 10, 2015 10:15:01 GMT -8
spiders
6
November 2015
spiders
|
Post by spiders on Nov 1, 2015 8:19:04 GMT -8
Stinky666Hey I am having some trouble changing the colors of the forums. The first category is the color it should be, but the others after it are all grey. Is there something I should do in to CSS? EDIT: Of course I find the problem when I ask. In the CSS the numbers for the categories after 1 are no correct. It jumped from 1 to 8.
|
|