$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>css - links format change "on clic"|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

css - links format change "on clic"

matteradmin8PV0评论

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.

Articles related to this article

Post a comment

comment list (0)

  1. No comments so far