Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cursor pointer for button is not working in the Hero component. #7

Open
gchin108 opened this issue Oct 24, 2023 · 5 comments
Open

Cursor pointer for button is not working in the Hero component. #7

gchin108 opened this issue Oct 24, 2023 · 5 comments

Comments

@gchin108
Copy link

gchin108 commented Oct 24, 2023

It seems no button can have the css cursor pointer applied inside the hero component. I tried the completed version, still the same problem. The only way i could apply the cursor pointer is in the browser console under the Element Styles tab.

@omar-ashraf2
Copy link

You can fix the issue by setting the z-index property of the sliding text to "1" and making the buttons higher, for example, "3". This will resolve the issue.

@urstrulyrithik
Copy link

You can fix the issue by setting the z-index property of the sliding text to "1" and making the buttons higher, for example, "3". This will resolve the issue.

can you please explain what do you mean by making the buttons higher ? Also why do you this issue occured in the first place?

@omar-ashraf2
Copy link

To fix the issue of the sliding text overlapping the buttons, you can adjust the "z-index" property. This property controls the priority of layers on your webpage, thereby deciding which element should appear above the other. By increasing the "z-index" value of the buttons to, say, 3 and setting the "z-index" value of the sliding text to 1, you can ensure that the buttons appear on top of the sliding text.

@Flaviomota24
Copy link

Tem o script aí para nós mostra ?, gostaria de ver o problema e a solução.

@omar-ashraf2
Copy link

Make sure that your buttons or links have a z-index higher than the slider as follows:
Here it's set to 3:
image
For the slider, I set it to 1:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants