-
AuthorPosts
-
dsinor Friend
dsinor
- Join date:
- July 2014
- Posts:
- 36
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 5
- Thanked:
- 2 times in 1 posts
February 26, 2015 at 7:35 pm #204154t3_bs3. localhost site in development. Not online yet.
I have a simple megamenu with one dropdown.
The dropdown Heading is “Photos”. It’s submenus are “2014” and “2015”.
“Photos” does not have a module assigned to it nor a page associated with it. It’s only a heading. Therefore I used Menu Heading for the “Photos” Menu Item type.
I also customized the navbar to NOT show a button for active pages. I changed line 187 in navbar.less to “display: none;” .
This customization works well. Example: there is no Home button on the navbar when the user is on the home page. This applies to all pages. Even better, the “Photos” button does appear on the navbar when the user is on the submenu 2014 or 2015 pages. This is a “good thing”.
My problem: I would like to have a hover color for the Photos button, but I cannot do this with a Link CSS Style under the Link Type tab of “Photos”, because “Photos” is a Menu Heading Type, and that Type does not offer Link Type settings.
I tried changing the “Photos” type to something other than Menu Heading, but when i do that, my earlier customization causes the “Photos” button to disappear when the user is on one of the sub 2014 or 2015 pages. I don’t want that to happen.
I tried editing pluginssystemt3basecssmegamenu.css line 68, but it didn’t work.
I tried every conceivable variable in variables.less, navbar.less, megamenu.less, and navigation.less, but I can’t find anything that gives me a hover color for a Menu Heading and the “good thing” functionality I described above.
I’ve been conscientious with clear cache etc each time I make changes. Nothing has worked.
Any suggestions?
Thanks!
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
dsinor Frienddsinor
- Join date:
- July 2014
- Posts:
- 36
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 5
- Thanked:
- 2 times in 1 posts
February 28, 2015 at 1:30 am #560969Thanks!
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
dsinor Frienddsinor
- Join date:
- July 2014
- Posts:
- 36
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 5
- Thanked:
- 2 times in 1 posts
March 1, 2015 at 4:14 am #561039Hi & thanks.
The site doesn’t use a custom.css.
But your suggestion is still a starting point. I’ll have a look at the less files again next week. Thanks!
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
March 1, 2015 at 4:36 am #561040Hi if there us no custom.css file then create it in your templates/ your ha template/css/custom.css .
add code clear cache and check.
let me know if ut helpdsinor Frienddsinor
- Join date:
- July 2014
- Posts:
- 36
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 5
- Thanked:
- 2 times in 1 posts
March 1, 2015 at 5:18 pm #561089Hi pankajsharma. Thanks again for your feedback. I appreciate it!
This “hobby” site is my first php site.
One goal was to learn joomla! and T3. When I started to understand T3, I developed a stubborn notion about how a “proper” design would not need a custom.css. If a beginner truly learns how T3 works, he should be able to do anything by learning LESS and working “within” the system instead of outside it. So that became a personal goal: no custom.css. It’s stubborn, but it’s also eloquent. 😉
Scott Lavelle FriendScott Lavelle
- Join date:
- November 2010
- Posts:
- 266
- Downloads:
- 16
- Uploads:
- 5
- Thanks:
- 6
- Thanked:
- 64 times in 27 posts
March 2, 2015 at 1:49 am #561119I think that there are some elements that there simply isn’t a LESS variable for anywhere. I think I’ve seen where you can add a custom LESS file if you would prefer that to the custom.css. I personally use a lot of custom.css code for all sorts of things that may or may not exist in the LESS files as it is. Remember that a LOT of the LESS stuff is base bootstrap, so there are things in the T3 framework that wouldn’t be covered with it. One example of this would be the MegaMenu which doesn’t exist in the base bootstrap stuff.
Scott Lavelle - Technical Resource Solutions, LLC
Certified Joomla Administrator1 user says Thank You to Scott Lavelle for this useful post
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
March 2, 2015 at 2:05 am #561122Hi dsinor
Custom.css is used for custom changes . when there will be a template update you all custom changes in the core files willl be override .
Here is doc for t3 customization
Hello slave i suggest you to use custom.css . I will forward your feedback for custom.less file to development for further reviews on it .Thanks .
1 user says Thank You to Pankaj Sharma for this useful post
dsinor Frienddsinor
- Join date:
- July 2014
- Posts:
- 36
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 5
- Thanked:
- 2 times in 1 posts
March 2, 2015 at 4:54 am #561165<em>@slavelle 460933 wrote:</em><blockquote>I think that there are some elements that there simply isn’t a LESS variable for anywhere. I think I’ve seen where you can add a custom LESS file if you would prefer that to the custom.css. I personally use a lot of custom.css code for all sorts of things that may or may not exist in the LESS files as it is. Remember that a LOT of the LESS stuff is base bootstrap, so there are things in the T3 framework that wouldn’t be covered with it. One example of this would be the MegaMenu which doesn’t exist in the base bootstrap stuff.</blockquote>
Wow. How cool is that!
My story:
In December, I started playing with php and then joomla and then T3 in my spare time. Dev is just a hobby for me so I’m never proficient, and usually I only know enough to be dangerous. Anyway, I hit a T3 wall after a week and I was ready to drop it and just build a simple html site. But then I kept reading posts here and there that seemed to make sense, so I persevered a little longer and eventually I obtained my present level of “uninformed dangerous basher of T3”.Voila! Now I have a simple little site that works, and I even understand why it works. (mostly)
I may even understand how to survive a template update without losing my customizations.Anyway, I NEVER would have made it past December if it weren’t for those “posts that made sense to me”, all of which were written by Scott Lavelle.
How about that? The fact that you replied to a thread I started is somewhat of a personal full-circle thing for me.
So this is my way of saying thanks. If you’ve written 219 posts, I bet I’ve read 150 of them. At one point, I was using this board just to search for your posts.
Cheers!
I am justifiably compelled at this point to also offer sincere thanks the people responsible for the conception and evolution of T3. It has it’s quirks, but it is a spectacular endeavor. Offering it as open source with quite-good support is a generous contribution to the advancement of whatever science one would attribute to dissemination of information. In this day, that is a very broad statement. I am old enough to know this.
I have benefited greatly from comments provided by jooservices, ninja lead, pankajsharma, saguaros, adam m, and gardner luna. I’m sure there are others, but these names jump to mind. Thanks to all!
Lastly, I’ll just have to loosen up a bit on my custom.css hangup. 😎
Regards to all.
DS
Scott Lavelle FriendScott Lavelle
- Join date:
- November 2010
- Posts:
- 266
- Downloads:
- 16
- Uploads:
- 5
- Thanks:
- 6
- Thanked:
- 64 times in 27 posts
March 2, 2015 at 5:15 pm #561261Excellent! Glad to hear the time I spent typing up responses to things around here have been valuable to someone. Thanks for pointing it out 🙂
Scott Lavelle - Technical Resource Solutions, LLC
Certified Joomla Administrator -
AuthorPosts
This topic contains 11 replies, has 3 voices, and was last updated by Scott Lavelle 9 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum