Using Natalie
Would like to use 2 line menu items in my navbar
This:
Energy
issues
Not:
Energy issues
Please see attached. Thanks.
Keith
- keithvb
- Commercial Templates
- Friday, 17 September 2021
- Subscribe via email
Ciaron,
Thanks for your help. Makes sense since some of the css from custom.css is loading. I'll work on it.
Keith
Thanks for your help. Makes sense since some of the css from custom.css is loading. I'll work on it.
Keith
- more than a month ago
- Commercial Templates
- # 1
Hi Keith
Your custom.css appears to be loading. You can confirm this by opening your dev tool (F12) and navigating to the 'Network' tab (filter by css). Inline CSS has a stronger presedence than your custom.css so maybe your CSS is been overridden elsewhere?
Ciaran
Your custom.css appears to be loading. You can confirm this by opening your dev tool (F12) and navigating to the 'Network' tab (filter by css). Inline CSS has a stronger presedence than your custom.css so maybe your CSS is been overridden elsewhere?
Ciaran
- more than a month ago
- Commercial Templates
- # 2
Update: If I add css to the box on "custom css" page it is loaded as "inline"
If I add it to custom.css it is not loaded.
What am I missing?
thanks,
Keith
If I add it to custom.css it is not loaded.
What am I missing?
thanks,
Keith
- more than a month ago
- Commercial Templates
- # 3
Hi Ciaran,
URL: nuclearenergyfuture.com
Current status: some of custom.css is loading.
The following is not.
.hornav ul.menu > li(
white-space: normal !important;
width: 90px !important;
}
.hornav ul.menu li a, .hornav ul.menu li span, .hornav > ul > .parent::after {
white-space: normal !important;
width: 90px !important;
}
.module:first-of-type .module_surround {
padding-top: 5px !important;
}
Either of the first 2 creates 2-line navbar items when I add them using inspector but they (customl.css entries) don't appear as expected.
The 3rd item also works in inspector but also doesn't load.
Thanks,
Keith
URL: nuclearenergyfuture.com
Current status: some of custom.css is loading.
The following is not.
.hornav ul.menu > li(
white-space: normal !important;
width: 90px !important;
}
.hornav ul.menu li a, .hornav ul.menu li span, .hornav > ul > .parent::after {
white-space: normal !important;
width: 90px !important;
}
.module:first-of-type .module_surround {
padding-top: 5px !important;
}
Either of the first 2 creates 2-line navbar items when I add them using inspector but they (customl.css entries) don't appear as expected.
The 3rd item also works in inspector but also doesn't load.
Thanks,
Keith
- more than a month ago
- Commercial Templates
- # 4
I did some digging and found that the last 2 lines of the code below will do what I want. Not perfect but looks like it is close...
I added the code to custom.css but for some reason, it's not being read. Other code in custom.css is being read.
.hornav ul.menu > li
font-size: .9em;
font-weight: 500;
font-style: normal;
-webkit-font-feature-settings: normal;
font-feature-settings: normal;
line-height: 1rem;
padding: 40px 0;
margin: 0;
text-align: center;
text-rendering: optimizeLegibility;
letter-spacing: .5px;
white-space: normal !important;
width: 90px !important;
}
Any suggestions?
...thanks,
Keith
I added the code to custom.css but for some reason, it's not being read. Other code in custom.css is being read.
.hornav ul.menu > li
font-size: .9em;
font-weight: 500;
font-style: normal;
-webkit-font-feature-settings: normal;
font-feature-settings: normal;
line-height: 1rem;
padding: 40px 0;
margin: 0;
text-align: center;
text-rendering: optimizeLegibility;
letter-spacing: .5px;
white-space: normal !important;
width: 90px !important;
}
Any suggestions?
...thanks,
Keith
- more than a month ago
- Commercial Templates
- # 7
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »