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

Links stopped being clickable

Post by kushcat »

I have been installing extensions and today all links under the forums recent post aren't clickable anymore, I don't know why I can't click the post links anymore but I tried disabling all extensions but that didn't help
kushcat
Registered User
Posts: 46
Joined: Mon Dec 09, 2024 5:38 am

Re: Links stopped being clickable

Post by kushcat »

It works in chrome but not Microsoft edge, I tried restarting my PC and clearing my browsing data
kushcat
Registered User
Posts: 46
Joined: Mon Dec 09, 2024 5:38 am

Re: Links stopped being clickable

Post by kushcat »

i tried uninstalling and reinstalling my style and hyperlinks in last post are showing as text still, other members of my forum says it works for them
Screenshot 2025-04-11 214144.png
You do not have the required permissions to view the files attached to this post.
kushcat
Registered User
Posts: 46
Joined: Mon Dec 09, 2024 5:38 am

Re: Links stopped being clickable

Post by kushcat »

nothing under last post is clickable anymore on index and in forums
User avatar
ssl
Registered User
Posts: 2151
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: Links stopped being clickable

Post by ssl »

kushcat wrote: Sat Apr 12, 2025 5:14 am i tried uninstalling and reinstalling my style
Have you tried prosilver?
Can you provide a link to your forum
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.15 | PHP: 8.4.5
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
kushcat
Registered User
Posts: 46
Joined: Mon Dec 09, 2024 5:38 am

Re: Links stopped being clickable

Post by kushcat »

Yes prosilver worked the issue is only on prosilver dark edition http://dragonspot.net
User avatar
Gumboots
Registered User
Posts: 968
Joined: Fri Oct 11, 2019 1:59 am

Re: Links stopped being clickable

Post by Gumboots »

That's an odd one. They are not clickable in Firefox for me. There's nothing in the CSS disabling them, and they are still focusable via keyboard navigation. If you tab to one of the links in .lastpost it works normally.

All I can think of is it must be one of your extensions.
🇺🇦 Слава Україні! 🇺🇦 Героям слава! 🇺🇦
User avatar
ssl
Registered User
Posts: 2151
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: Links stopped being clickable

Post by ssl »

Already think about updating your style to see if it solves the problem

Code: Select all

# General Information about this style
name = Prosilver (Dark Edition)
copyright = © PlanetStyles.net (Premium Forum Themes)
style_version = 1.1.5
phpbb_version = 3.3.11
Your phpBB version is 3.3.15

EDIT
On my board with the Prosilver (Dark Edition) style v1.1.5 everything is alright: https://www.medias.rimbertweb.fr/index.php?style=142
Your problem comme from an extension
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.15 | PHP: 8.4.5
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
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 »

kushcat wrote: Sat Apr 12, 2025 12:34 am I don't know why I can't click the post links anymore but I tried disabling all extensions but that didn't help
An extension isn't the problem in this case, but rather your changes to Prosilver (Dark Edition) 1.1.5. The cause lies in this file:

styles/prosilver_dark/theme/content.css

Original:

Code: Select all

dl.row-item dt {
	background-repeat: no-repeat;
	background-position: 5px 95%;		/* Position of topic icon */
	background-size: 17px;
}
Your change:

Code: Select all

dl.row-item dt {
	background-repeat: no-repeat;
	background-position: 5px 18px;		/* Position of topic icon */
	background-size: 17px;
        position: relative;
}
The problem is position: relative;, which "somehow" moves the last column to another layer, which means links no longer function as such, neither on hover nor on click. Strangely, the effect only occurs in the last column. But I don't know why; a CSS Jedi will have to answer that. ;)

This bastard of a CSS error cost me an hour and a half. ^^
May the backup be with you. Always.
User avatar
ssl
Registered User
Posts: 2151
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: Links stopped being clickable

Post by ssl »

LukeWCS wrote: Sat Apr 12, 2025 1:57 pm The problem is position: relative;, which "somehow" moves the last column to another layer, which means links no longer function as such, neither on hover nor on click. Strangely, the effect only occurs in the last column. But I don't know why; a CSS Jedi will have to answer that.

This bastard of a CSS error cost me an hour and a half. ^^
I do not have this addition in the CSS file and do not encounter the problem mentioned here with this style
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.15 | PHP: 8.4.5
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
cabot
Jr. Style Validator
Posts: 1198
Joined: Sat Jan 07, 2012 4:16 pm

Re: Links stopped being clickable

Post by cabot »

LukeWCS wrote: Sat Apr 12, 2025 1:57 pm This bastard of a CSS error cost me an hour and a half. ^^
:lol:

Relative 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;
}
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 »

cabot wrote: Sat Apr 12, 2025 4:08 pm :lol:
When I consider how much time CSS has already cost me, especially when it comes to certain browser-specific features, because browser vendors want to do their own thing and thus force developers to implement some absurd browser switches, that's life time I'd like to have back. ;) But okay, it's gotten considerably better. In this case, it was simply the CSS complexity that slowed me down in finding the error.
Relative positioning is used here to move the topic icon above the background of the read/unread icon (wich is positioned in absolute).
After ruling out all the usual potential causes, including JavaScript, I simply downloaded all the Prosilver Dark CSS files directly from kushcat and compared them with the original files. That's how I finally discovered the cause. But it's a mystery to me why this effect only occurs in the last column. For example, when I moved the links to the second-to-last column in my tests, they immediately worked normally.
May the backup be with you. Always.
User avatar
Gumboots
Registered User
Posts: 968
Joined: Fri Oct 11, 2019 1:59 am

Re: Links stopped being clickable

Post by Gumboots »

LukeWCS wrote: Sat Apr 12, 2025 1:57 pmThe problem is position: relative;, which "somehow" moves the last column to another layer, which means links no longer function as such, neither on hover nor on click.
It's due to the utterly bonkers CSS that is carried over from default Prosilver.

Setting position: relative; has a similar effect to setting position: absolute; or position: fixed; in that it creates a new stacking context. It's similar to setting z-index: 1; even though no z-index as such has been set.

The utterly bonkers bit comes in 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. This means that as soon as you move it to a new stacking context it overlaps the dd's, instead of "underlapping" them. Result is you are clicking the dt while the dd hides beneath it.

And good catch. It hadn't occurred to me at the time, because I haven't used that CSS for so long I had forgotten about its possible effects.
🇺🇦 Слава Україні! 🇺🇦 Героям слава! 🇺🇦
User avatar
Gumboots
Registered User
Posts: 968
Joined: Fri Oct 11, 2019 1:59 am

Re: Links stopped being clickable

Post by Gumboots »

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.
🇺🇦 Слава Україні! 🇺🇦 Героям слава! 🇺🇦
kushcat
Registered User
Posts: 46
Joined: Mon Dec 09, 2024 5:38 am

Re: Links stopped being clickable

Post by kushcat »

his code worked, i will try yours later. any ideas of where to look if i wanted to buy a custom made skin?

Return to “[3.3.x] Support Forum”