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

Aligning Board Stats

Started by Skhilled, Feb 21, 2019, 07:45 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Skhilled

I'm having a problem aligning the stats in RC1. It works fine if you have posts/topics in the boards but doesn't line up if there are none. It also does the same with the redirect board. Here's a board with 2.0.15 which looks fine:

https://skhilled.com/smftest/index.php

And here RC1:

https://skhilled.com/smfrc1/index.php

Bigguy

I have the same problem here and I do believe I posted about it either on SMF or GH. Not sure which.
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

Skhilled

I've been playing with it for about a week or so and can't get it to line up correctly. I also have the same problem with the topics board...much harder to line them up but those will move.

lurkalot

Think it uses the last post column set at a width of 30% to push that over to the left, but obviously when you have no posts, or use a redirect then there is no last post. So it shifts to the right.

No sure if you can see how that is handled in the 2.0 version of the theme, but it might give you a clue.

lurkalot

Quote from: Skhilled on Feb 21, 2019, 08:25 AMI've been playing with it for about a week or so and can't get it to line up correctly. I also have the same problem with the topics board...much harder to line them up but those will move.

Actually Steve.

index.css around line 3771

Find and comment out

.hidden {
display: none;
}

And see what happens.  ;)

Bigguy

@lurkalot Does that just effect that area. I just mean   .hidden is pretty general in terms of what it means. :dontknow :hwhat
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

live627

It affects more than just that.

Idea:

.hidden:not(.lastpost)

lurkalot

Quote from: Bigguy on Feb 21, 2019, 09:13 PM@lurkalot Does that just effect that area. I just mean   .hidden is pretty general in terms of what it means. :dontknow :hwhat

I don't know, I was just trying to find clues which might help Steve solve his problem.  ;)

Bigguy

Ohok, I thought you had tried it.
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

Skhilled

#9
Yes! Finally it lives! LOL Thanks a lot, Mick!

https://skhilled.com/smfrc1/index.php

Quote from: live627 on Feb 22, 2019, 01:01 AMIt affects more than just that.

Idea:

.hidden:not(.lastpost)

Ok, I changed it to this:

.hidden:not(.lastpost) {

display: none;

And that works too.

Bigguy

I will have to do that here as well.
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

lurkalot

Well I was kinda looking in the right place at least. lol..  But if it does control other things then you'd best use live627's solution.  At least we got there between us.  :rgton

Skhilled

Yes, I tried his as well. And left it that way because of that. Now, I'll make a copy of the default that will already include that code and make the others off of it.

Skhilled

Now, what's the best way to align them on the topic page?

https://skhilled.com/smfrc1/index.php?board=1.0

Bigguy

I played around a bit and made no progress, lol.
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin