QUICK NEWS

{NEW} - A new css video is up.

{OLD} - New video courtesy of Skhilled, Thanks for posting it up.

Video of the moment:


Internal Links

SMF Sites

Quick Info

Redirect Stats Help

Started by Skhilled, Jun 05, 2022, 09:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Skhilled

Just try to add a background color to the stats and you'll see what I'm talking about.

Bigguy

You can change whatever you want by using the board id like this:

#board_31
font-size: 2em;
whatever else you want

Maybe this is what you are looking for.
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

Skhilled

But that is for a particular board...not all boards nor any future boards. This is for a theme I'm updating. The user shouldn't have to edit the theme every time a new redirect board is added.

Bigguy

Sorry I thought you meant you just wanted to edit the css for the redirect board. Not all the text in all the stats.
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

Skhilled

Wrong again... Notice how the background color for all of the category stats fill the space EXCEPT for the redirect board which is different! The height of the background color is not the same of any redirect board.

Any redirect board you create will do the same. They should all be the same as the other board stats...

You cannot view this attachment. 


Bigguy

OOOOooohhh, lol. I see it now. If you stare long enough and blur your vision a bit it becomes clear, lol. I understand what your saying now. The box around it doesn't stretch to take up the entire space.
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

Skhilled

Exactly! I remember this problem before...maybe with the RC1 version or something and I posted about it and "think" I got a fix from live627? But can't find it...

Bigguy

"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

Skhilled

As I've posted earlier, I thought it may be it but then thought it was to make all parts separated like 2.0 themes. I'll have to play with it and see. There may be something in it that might work...

Bigguy

That is a different link then what you posted in this thread. I thought it may help. Now that I understand it a bit more I may be able to help a bit more. Have to go out soon and do the town run but I'll be back shortly after that. Have you posted the code you used to make those boxes like that.
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

Skhilled

It was just a background color change  for the board_starts and that is how I noticed the difference.

.boardindex_table .board_stats {
  padding: 13px 10px 10px;
  background: #000;
}

If you try to change the padding it doesn't work...

Bigguy

If you use something other than px does it work or have your tried that ? Maybe % or something.
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

Skhilled

I haven't tried that but seriously doubt it will work because it changes all of them and not just the redirect board.

Bigguy

Hmm, why do I remember something about this......I'll have to think on it. Maybe I did something similar at one point, not sure.
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

Skhilled

Yes... I remember something but can't find it. Oh well, I'll just have to dig a bit deeper I guess. :dontknow