Button style in website title and menu
-
Dear @arminunruh
Is it possible to use buttons style in the website title and menu?
Love -
only with custom css!
you'd need border-radius, border, padding,
probably some hover statesbest to learn some css to do this!
https://laytheme.com/documentation/custom-css-styling.html -
@arminunruh Hello
Thank you for your answer!
well i decided doing a fake menu, and i have a little problem, so here's the link to de site: https://www.cnap.no/about/
I did those buttons in a row and fixed those using the code:
div.relative {
position: fixed;
left: 0px;
}But the buttons are on top of the images and that's great, but the text is on top of the buttons, can help me put the buttons on top of everything?
Thank you so much Armin
Love
-
@Nunomaio afaik you need the z-index. I looked into your code and it seems that the text is a z-index: 0, so your buttons all need at least z-index: 1.
Your code should look like this:
div.relative { position: fixed; left: 0px; z-index: 1 /*at least 1 if it's still glitching try various values*/; }
Hope this helps,
JohannesPS: Another way would be to lower the z-index of the text but then you probably need to change the z-index from the images too.
-
good work nice fonts and colors!! ah norway, im 30% scandinavian myself, thats what my dna test says
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it