1. keithvb
  2. Sherlock Holmes
  3. Commercial Templates
  4. Friday, 17 September 2021
  5.  Subscribe via email
Using Natalie
Would like to use 2 line menu items in my navbar

This:

Energy
issues

Not:

Energy issues

Please see attached. Thanks.
Keith
Attachments (1)
Accepted Answer Pending Moderation
0
Votes
Undo
Ciaron,

Thanks for your help. Makes sense since some of the css from custom.css is loading. I'll work on it.

Keith
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
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
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
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
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
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
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Keith

Would you have a URL to an example of this issue?

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Turns out that custom.css isn't being read at all.
Ideas?
thanks,
Keith
  1. more than a month ago
  2. Commercial Templates
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
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
  1. more than a month ago
  2. Commercial Templates
  3. # 7
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok