The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Navigation Bar Query

View previous topic View next topic Go down

In progress Navigation Bar Query

Post by Bishie on November 30th 2011, 11:44 pm

Is it possible to edit the navigation menu, since every entry box with the exception of "picture" is greyed out?



I am using phpBB3.

Bishie
New Member

Posts : 12
Reputation : 1
Language : English

Back to top Go down

In progress Re: Navigation Bar Query

Post by blindbat1457 on November 30th 2011, 11:50 pm

I don't believe you can. I think those are permanently locked but you can change the permissions as to who can see them. If they really bug you as admin you can use CSS to hide them.

blindbat1457
Forumember

Male Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA

Back to top Go down

In progress Re: Navigation Bar Query

Post by Bishie on November 30th 2011, 11:53 pm

@blindbat1457 wrote:I don't believe you can. I think those are permanently locked but you can change the permissions as to who can see them. If they really bug you as admin you can use CSS to hide them.

How would I go about doing that exactly?

Many thanks.

Bishie
New Member

Posts : 12
Reputation : 1
Language : English

Back to top Go down

In progress Re: Navigation Bar Query

Post by blindbat1457 on November 30th 2011, 11:58 pm

@Bishie wrote:
@blindbat1457 wrote:I don't believe you can. I think those are permanently locked but you can change the permissions as to who can see them. If they really bug you as admin you can use CSS to hide them.

How would I go about doing that exactly?

Many thanks.

What links are you trying to hide?

Here is an example of what the code will look like:
(note this is to hide the home link)
Code:
a[href="/home"]{
  display: none;
}

blindbat1457
Forumember

Male Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA

Back to top Go down

In progress Re: Navigation Bar Query

Post by Bishie on December 1st 2011, 12:10 am

The "home" link as you rightly assumed. How do I apply the CSS code?

Bishie
New Member

Posts : 12
Reputation : 1
Language : English

Back to top Go down

In progress Re: Navigation Bar Query

Post by Light Elf on December 1st 2011, 12:21 am

AP/Display/Colors/CSS

Light Elf
Forumember

Posts : 144
Reputation : 11
Language : English

Back to top Go down

In progress Re: Navigation Bar Query

Post by Bishie on December 1st 2011, 12:26 am

I'm at a loss as to where to insert the code in question. Forgive my being a novice.

To clarify, this is what I'm looking to remove:


Bishie
New Member

Posts : 12
Reputation : 1
Language : English

Back to top Go down

In progress Re: Navigation Bar Query

Post by Light Elf on December 1st 2011, 12:37 am

He told ya how. Go to Administration Panel:
Code:
Display/Colors/CSS
In CSS add code:
Code:
a[href="/home"]{
  display: none;
}
The End

Light Elf
Forumember

Posts : 144
Reputation : 11
Language : English

Back to top Go down

In progress Re: Navigation Bar Query

Post by Bishie on December 1st 2011, 12:54 am

I've inserted the code in the stylesheet. It hasn't changed anything. What am I doing wrong?

Bishie
New Member

Posts : 12
Reputation : 1
Language : English

Back to top Go down

In progress Re: Navigation Bar Query

Post by blindbat1457 on December 1st 2011, 12:55 am

What is your forum URL?

blindbat1457
Forumember

Male Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA

Back to top Go down

In progress Re: Navigation Bar Query

Post by Bishie on December 1st 2011, 12:58 am

http://www.technobabbles.co.uk/

If you walk me through the process, it would be appreciated.

Bishie
New Member

Posts : 12
Reputation : 1
Language : English

Back to top Go down

In progress Re: Navigation Bar Query

Post by blindbat1457 on December 1st 2011, 1:03 am

Code:
a[href="/forum"]{
  display: none;
}

Try this.

blindbat1457
Forumember

Male Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA

Back to top Go down

In progress Re: Navigation Bar Query

Post by Bishie on December 1st 2011, 1:05 am

Brilliant! Although, it appears to have removed my logo. Any advice?

Thanks for your patience.

Bishie
New Member

Posts : 12
Reputation : 1
Language : English

Back to top Go down

In progress Re: Navigation Bar Query

Post by LGforum on December 1st 2011, 1:52 am

Change the code to this:

Code:

.navlinks a[href="/forum"]{
  display: none;
}

LGforum
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

In progress Re: Navigation Bar Query

Post by Bishie on December 1st 2011, 4:41 pm

What if I wanted to change "Home" to "Forum" for example? Is there a means of changing the text using CSS?

Bishie
New Member

Posts : 12
Reputation : 1
Language : English

Back to top Go down

In progress Re: Navigation Bar Query

Post by Guest on December 1st 2011, 4:59 pm

Try to add in your JavaScript management:
Code:
var str="Home";
document.write(str.replace("Home","Forum"));

Guest
Guest


Back to top Go down

In progress Re: Navigation Bar Query

Post by Bishie on December 1st 2011, 5:09 pm

Alas, that did not appear to work. Any other suggestions?



I'm looking to change the above link if that clarifies.

Bishie
New Member

Posts : 12
Reputation : 1
Language : English

Back to top Go down

In progress Re: Navigation Bar Query

Post by Nera. on December 1st 2011, 5:30 pm

Hi,

Try,

http://help.forumotion.com/t91158-edit-nav-links#587681

Change i_icon_mini_portal to i_icon_mini_index and the word "Forum" to what ever you want.

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

In progress Re: Navigation Bar Query

Post by Bishie on December 1st 2011, 6:36 pm

Sorry, but only users granted special access can read topics in this forum.

It seems I'm not able to access the link you provided. Could you paste the content please?

Many thanks.

Bishie
New Member

Posts : 12
Reputation : 1
Language : English

Back to top Go down

In progress Re: Navigation Bar Query

Post by Nera. on December 1st 2011, 6:39 pm

@dion wrote:ACP>Modules>Portal Management.

Find the page you want to modify, then click Structure. Change the page name to what you want, and that name will show up in the navbar when it is the active portal page.

This will work too: Very Happy

Code:
$(function() {
document.getElementById('i_icon_mini_portal').parentNode.innerHTML='Forum';
});

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

In progress Re: Navigation Bar Query

Post by Bishie on December 1st 2011, 6:55 pm

That works as far as changing "Portal" to something else, but I'm specifically looking to change the link which currently says "Home".

Bishie
New Member

Posts : 12
Reputation : 1
Language : English

Back to top Go down

In progress Re: Navigation Bar Query

Post by Guest on December 1st 2011, 6:58 pm

Just use this code...:
Code:
$(function() {
document.getElementById('i_icon_mini_index').parentNode.innerHTML='Forum';
});

Guest
Guest


Back to top Go down

In progress Re: Navigation Bar Query

Post by Nera. on December 1st 2011, 7:01 pm

@Bishie wrote:That works as far as changing "Portal" to something else, but I'm specifically looking to change the link which currently says "Home".

I told you what do you need to change up to make it work on Home button/link. Use the code Gassy posted.

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

In progress Re: Navigation Bar Query

Post by Bishie on December 1st 2011, 10:05 pm

I've applied the code, but lost the icon which accompanied the text in the process. I can't win it seems.

Bishie
New Member

Posts : 12
Reputation : 1
Language : English

Back to top Go down

In progress Re: Navigation Bar Query

Post by LGforum on December 2nd 2011, 12:52 am

This in JS management should work for ya:

Code:

$(function(){ $('.navlinks a[href="/forum"]').text('Forum'); });

LGforum
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum