Center zone menu and space it
|
Posted
#86493
(In Topic #17685)
|
|
|---|---|
|
Fan in action |
I've tried searching the forum and the tutorials but I've come up empty handed. Any help would be appreciated |
|
Posted
|
|
|
Community saint |
|
|
Posted
|
|
|
Fan in action |
I only needed to do the first 2 steps for it to be exactly how I wanted it. thanks so much! |
|
Posted
|
|
|
Community saint |
|
|
Posted
|
|
|
Fan in action |
|
|
Posted
|
|
|
Community saint |
Similar to the advice provided by Jean for wicked …
Take my advice. I'm not using it!
View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal |
|
Posted
|
|
|
Fan in action |
Where would I remove it, or comment it out? I'm sure this would be beneficial to others as well. I tried your suggestion in the global.css on line 466 in .global_navigation { font-size: 0.95em; {+START,IF,{$MOBILE}} text-align: center !important; margin: 0 auto; padding: 8px 0 9px 0; {+END} {+START,IF,{$NOT,{$MOBILE}}} text-align: right; margin-top: 60px; padding: 5px 5px 0 0; background: url('{$IMG;,zone_gradient}') repeat-x; I'm pretty new to this |
|
Posted
|
|
|
Community saint |
I'm sure he will look in on this thread and take up where I leave off …
Take my advice. I'm not using it!
View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal |
|
Posted
|
|
|
Community saint |
First I disabled the gradient: Code
/* background: url('{$IMG;,zone_gradient}') repeat-x; */
Then I removed from the top menu all the items I don"t use. Thats all. Of course you could delete the whole menu, look for this in the menu editor. But I think it will give some errors because they have some links in the theme templates you use. But you can try yourself. I hope this give you some idea how to going on. Harry digiflash | Photography,Webdesign and digital art community (dutch) |
|
Posted
|
|
|
Community saint |
In addition to Harry's suggestion, if you want to remove it altogether, you could do the following: Version 8 HEADER.tpl Disable or remove: reference:line 134 Code
Version 9 GLOBAL_HTML_WRAP.tpl reference:line 26 Disable or remove: Code
Jean |
|
Posted
|
|
|
Community saint |
digiflash | Photography,Webdesign and digital art community (dutch) |
|
Posted
|
|
|
Non-joined user |
I lost my internet today. thanks jean & harry. Will get to it tomorrow, hopefully. i'm certainly not going to attempt anything on my blackberry |
|
Posted
|
|
|
Well-settled |
I came across this article: Creating a pure CSS dropdown menu --- CSS Wizardry---CSS, Web Standards, Typography, and Grids by Harry Roberts But I haven't figured out enough yet about how v9 is handling menu info to try and figure it out with my EXTREMELY limited knowledge of CSS. So I figured I would ask before I started bashing my head against that particular wall. Here's a link to an example site leveraging the info from the link above with some slight tweaks. This is the sort of menu I would love to use if I (or anyone else) can figure out how with v9. http://vogtjosh.com/nav/
Last edit: by D-Train
|
|
Posted
|
|
|
ocStaff (admin) |
There's a really fudgy way to sneak some permission checks in though. I don't want to confuse with too much detail but you can put something like this into the match-key field of a menu item: Code
{$?,{$IS_IN_GROUP,2,3,4},,_never_}
You could also do exact permission checks but it requires some intimate knowledge of how the permissions scheme works under the hood. I hope one day to be able to rearchitect how this all works to be point and click, but it requires creating a stronger sense of a "full internal sitemap" inside ocPortal, which doesn't quite exist yet. If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Well-settled |
Thanks for the info. You say OCP already has some built-in drop-down capability. Can you point me to where that is? I must have missed it. Thanks |
1 guests and 0 members have just viewed this: None
Control functions:









Last edit: by 