Archived topic
buttons and anchor
17 replies · Started by pke on April 22, 2020
On this site: http://www.tolle.ch
1. This CSS:
@media (min-width: 769px) {
.main-navigation .main-nav ul li:first-child>a {
padding-left: 40px;
}
}
change to:
@media (min-width: 769px) {
.main-navigation .main-nav ul li:first-child {
padding-left: 40px;
}
}
2. The Block Button - can you link me to a page where i can see this?
3. Where is the Smooth Scroll links ?
Sorry my fault - did not change in Customizer- general settings the css "Smooth Scroll"!! Stupide!
Now smooth scroll is working on desktop side - but still not on mobile!
***
The code for primary navigation to put in 40px from left is
@media (min-width: 769px) {
.main-navigation .main-nav ul li:first-child>a {
padding-left: 40px;
}
}
the ">a" it needs - so the submenues do not move in 40 px, thats what i want. -> see http://www.tolle.ch
Thank you
pius
Remove that CSS and use this instad:
@media (min-width: 769px) {
.main-navigation .menu {
padding-left: 40px;
box-sizing: border-box;
}
}