css - links format change "on clic"

admin2025-06-02  1

i have an issue on my site, and i don't know where it comes from.

every link "change" ( comes bigger & change place ) when i click it.

on menu link, they still are clicable, but with link in page, it doesnt work at all.

exemple :

try to click on "aix en provence" to see what happen.

thanks in advance for your help

i have an issue on my site, and i don't know where it comes from.

every link "change" ( comes bigger & change place ) when i click it.

on menu link, they still are clicable, but with link in page, it doesnt work at all.

exemple :

https://www.beprovence.fr/en/department/bouches-du-rhone-en

try to click on "aix en provence" to see what happen.

thanks in advance for your help

Share Improve this question asked Mar 4, 2019 at 16:37 GregoryGregory 6025 silver badges20 bronze badges 5
  • It comes from the css definition in style.css around line 125. There is a .hotel-detail-booknow a, a:active rule defined that gives the link its enormous size and blue colour. I would guess that it should be: .hotel-detail-booknow a, .hotel-detail-booknow a:active. The rule is applied to all clicked links, not just the ones within a .hotel-detail-booknow element. – Jos Commented Mar 4, 2019 at 16:57
  • ok, i see. so when adding style to link, we need to add .class before EVERY a type ? i was supposing that .class a, a:active will work only for .class ! so i made the change more than one time :D Let me update this to see if it works :) – Gregory Commented Mar 4, 2019 at 17:02
  • Please allow me to enter my comment as an answer. – Jos Commented Mar 4, 2019 at 17:10
  • don't know how to do this :o – Gregory Commented Mar 4, 2019 at 17:19
  • I have posted an answer. If you are satisfied that it actually solves your problem, please tick the check mark next to it. – Jos Commented Mar 4, 2019 at 17:20
Add a comment  | 

1 Answer 1

Reset to default 0

It comes from the css definition in style.css around line 125. There is this rule:

.hotel-detail-booknow a, a:active

defined that gives the link its enormous size and blue colour. I would guess that it should be:

.hotel-detail-booknow a, .hotel-detail-booknow a:active

In your case, the rule is applied to all clicked links, not just the ones within a .hotel-detail-booknow element.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1748843637a314188.html

最新回复(0)