Button in header in DIV with position: absolute -> Link inoperative

Description:

In a Template Part > Header, I inserted a DIV with position: absolute
In the DIV, I inserted a Cwicly Button (no layout set) with a valid link
Frontend: Link inoperative

I switched the DIV layout to Position: inherit
Frontend: Link runs fine

Environment info

  • Browser: Chrome
  • WordPress version: 5.9.3
  • Gutenberg Plugin version: deactivated
  • Cwicly Plugin version: 1.1.0.6
  • Cwicly Theme version: 1.0.3

Hello @weedor,

I’m sorry you’re having trouble with absolute position and buttons.
Could you possibly try adding a z-index positive value to the button/absolute div to see if this fixes things?
There must be another element that is on top of it.

Hi Louis,

Your solution works fine.
Thank you.

Best regards,
Bruno