0

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

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

1 Answer 1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.