The way to do it would be to put an id of “top” on the HTML element directly under the header image. So something like this
<!-- end header -- >
<div id="top">...</div>
Then append all of your links with #top
ok so let me get this straight i would locate where my header is in my themes style.css add this line underneath.
<!– end header — >
<div id=”top”>…</div>
then add the #top to all the links that i want to jump to under my header?
if so where do i find the links to add the #top ..where are the links located in buddypress to the activity/profile/messages tabs? i can see them if i use firebug but cannot locate them ..what file in buddypress will the be in?
example if i look in firebug at the messages tab i can see that it is
href=”http://www.mysite.com/connect/members/username/messages/”>
but i dont know where buddypress stores this as ive looked through a few files and cannot find it and how would i amend this with #top once found? could you give an example please.
thats all i need to know its probably staring me in the face but i just cant see it 🙂
sorry the link would look like this
a id=”user-messages” href=”http://www.mysite.com/connect/members/username/messages/”>
Your header HTML wouldn’t be in style.css. It would be in your theme’s header.php.
Links are everywhere. You’d basically be looking for every inbound link (which would be a huge undertaking). You may be able to do something in .htaccess but that seems overkill
Perhaps someone else knows of an easier approach?
i meant to say header .php lol i dunno what i was typing style.css for haha its because im changing some styling in my style.css as we speak lol
yes this is what i was saying theres only the buddypress menu links i want to do this function so no need to hunt for all my other links….surely someone must know where these links are located in buddypress…what file? i only need to add the #top to the activity/profile/messages/friends/groups/settings/personal/mentions/favourites etc in the buddypress menu itself.
My solution was to hide the header image on all areas of the site except the homepage.
Maybe that would help you?
Header images an every page only satisfies the designer of a site and does nothing for a site user. for usability sake remove it or create and trimmed down header image for user pages.
i cant do this as mentioned above…my header is a unique feature of all the pages…..ive integrated the main nav bar for my website into the header so it looks like part of the header….basically my site has 2 seperate content area one for the buddypress side of things and one for the orther pages if i remove the header i destroy the whole look of my theme as this section is crucial for navigation to the other areas…i refuse to believe that someone on these forums that have been using buddypress for years dont know where i would find where the links to the activity/profile/messages/ can be changed…i only need to locate these links in buddypress really to point them to under the header as henry said above (if it works) …surely someone knows how i can do this….im new to the buddypress plugin and nthis is why i need help to do this…basiclly its only location of where the links are in budypress files so i can edit them that i really need help with.