Links stopped being clickable

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
kushcat
Registered User
Posts: 46
Joined: Mon Dec 09, 2024 5:38 am

Re: Links stopped being clickable

Post by kushcat »

Gumboots wrote: Sat Apr 12, 2025 7:50 pm
cabot wrote: Sat Apr 12, 2025 4:08 pmRelative positioning is used here to move the topic icon above the background of the read/unread icon (wich is positioned in absolute).
This is not immediately obvious because the background of the read state uses transparency, which is not the case for the unread state.

To fix this, the inaccessible elements also need to be positioned in relative:

Code: Select all

dd.lastpost > span > :not(dfn) {
	position: relative;
}
Too complicated. Just use this:

Code: Select all

.lastpost {
	position: relative;
}
Works the same. Less stuff. Less stuff is good.

Although, TBH, the best fix is to ditch the default Prosilver CSS and just flex the lot. That's what I did years ago, when I first took a look at the default code, thought "No effing way", and promptly threw it all in the bin. Never looked back. It makes responsive and RTL a hell of a lot easier too.
his worked, yours made actual forums not clickable xD
User avatar
Gumboots
Registered User
Posts: 968
Joined: Fri Oct 11, 2019 1:59 am

Re: Links stopped being clickable

Post by Gumboots »

Now that is odd. I didn't think to check that, because it's not something I would ever have expected.

It doesn't actually make them not clickable, but what it does do is make the clickable area much smaller in height. If you hit the very bottom of the .forumtitle links it works, but only on the very bottom. Why? At the moment I have no idea. There's no obvious reason for it.

However, this works:

Code: Select all

.lastpost a {
  position: relative;
}
That makes the links in .lastpost clickable without screwing anything else, and it's still less code. ;)

And that default CSS is still utterly bonkers. :lol:
🇺🇦 Слава Україні! 🇺🇦 Героям слава! 🇺🇦
kushcat
Registered User
Posts: 46
Joined: Mon Dec 09, 2024 5:38 am

Re: Links stopped being clickable

Post by kushcat »

yes but i wasnt able to click these links after using your code
Screenshot 2025-04-12 220020.png
You do not have the required permissions to view the files attached to this post.
User avatar
Gumboots
Registered User
Posts: 968
Joined: Fri Oct 11, 2019 1:59 am

Re: Links stopped being clickable

Post by Gumboots »

Like I said, it made the clickable area of the link much smaller in height, so that only the very bottom was clickable.
🇺🇦 Слава Україні! 🇺🇦 Героям слава! 🇺🇦
kushcat
Registered User
Posts: 46
Joined: Mon Dec 09, 2024 5:38 am

Re: Links stopped being clickable

Post by kushcat »

yup that works thanks where do you suggest i look for more custom skins?
User avatar
Gumboots
Registered User
Posts: 968
Joined: Fri Oct 11, 2019 1:59 am

Re: Links stopped being clickable

Post by Gumboots »

Honestly? Dunno. I ever look for them anywhere else.
🇺🇦 Слава Україні! 🇺🇦 Героям слава! 🇺🇦
kushcat
Registered User
Posts: 46
Joined: Mon Dec 09, 2024 5:38 am

Re: Links stopped being clickable

Post by kushcat »

what do you mean

And that default CSS is still utterly bonkers
kushcat
Registered User
Posts: 46
Joined: Mon Dec 09, 2024 5:38 am

Re: Links stopped being clickable

Post by kushcat »

what do you mean

And that default CSS is still utterly bonkers
User avatar
Gumboots
Registered User
Posts: 968
Joined: Fri Oct 11, 2019 1:59 am

Re: Links stopped being clickable

Post by Gumboots »

I mean these days there are much simpler and more versatile ways of doing it. It's very old code, from a period when not as many things were possible, and whoever coded it was trying to be extremely clever for that period, so they made it extremely complicated to deal with. You can get the same result with less code and far less hassle.
🇺🇦 Слава Україні! 🇺🇦 Героям слава! 🇺🇦
User avatar
LukeWCS
Registered User
Posts: 309
Joined: Mon Dec 08, 2014 12:32 pm
Location: Germany

Re: Links stopped being clickable

Post by LukeWCS »

Gumboots wrote: Sat Apr 12, 2025 7:47 pm because in the default Prosilver CSS someone had the idea that they wanted the dt to extend the full width of the parent li, so they gave the dt a massive negative right margin.
That was the missing piece of the puzzle, thanks! After reading that, I experimented with the mentioned value. This logically disrupted the layout, but the links were usable again as such.
And good catch.
Well, 10% inspiration, 90% perspiration. ^^
May the backup be with you. Always.

Return to “[3.3.x] Support Forum”