Home
Please help hwdMediaShare over the next week

Over the next 7 days, until the 21st March, we need your help. We will be understaffed during this period. This is due to a combination of events. The main developer (Davors) will be away, another member of staff is migrating to a new country, and the Chilean Earthquake has unfortunately disrupted the ability for other staff members to deliver regular support.

Therefore, it might take longer than usual for you to receive a response to your forum messages. If you post here regularly we ask that you please do not post during this period unless it is absolutely necessary. Additionally, please try to spend a little time helping new users with problems. Our regular level of support will be resumed as usual by the developers after the 21st March. Thank you for your understanding and patience.


Change color of "Upload" link & move usernav
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Change color of "Upload" link & move usernav
#26160
Change color of "Upload" link & move usernav 1 Month ago Karma: 0
I'm using the Joomla template.

First,
I want the Upload link on the main navigation section to be a different color than the other links. Can someone tell me how to accomplish this?

Also,
I want to move the usernav links (Your Favorites and Your Videos) to the same line as the main navigation (Videos, Categories, Uploads, etc.). But I want the usernave links situated to the far right of the line.

I appreciate the help.

Thanks.
wjnesbitt
Senior Boarder
Posts: 72
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/02/05 07:04 By wjnesbitt.
The administrator has disabled public write access.
 
#26174
Re:Change color of "Upload" link & move usernav 1 Month ago Karma: 150
I want the Upload link on the main navigation section to be a different color than the other links. Can someone tell me how to accomplish this?You would do this by editing the HTML and CSS of that section.

First, you will need to edit the template index.tpl. For the location of this file please see:
documentation.hwdmediashare.co.uk/wiki/W...e_files_do_I_edit%3F

This is the template file for the navigation section of the page, and you can move around the HTML to modify the layout. Once you finish your modifications, save the file and clear your template cache. You will then be able to see your changes.

Change the CSS class for that link, then add a new definition to the CSS to match that new class, and give it whatever styling and colour you want.

I want to move the usernav links (Your Favorites and Your Videos) to the same line as the main navigation (Videos, Categories, Uploads, etc.). But I want the usernave links situated to the far right of the line.Do this by re-arranging the same template as listed above...
Davros
Administrator
Posts: 10822
graph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
If you like hwdVideoShare please consider rating it in the Joomla Extensions Directory
 
#26224
Re:Change color of "Upload" link & move usernav 1 Month ago Karma: 0
I looked at the file index.tpl, but not sure exactly what I'll need to edit to make these things happen. This file seems to be related to the tabs and not the navigation menu. What exactly should I be looking for there?

I've been working in the header.tpl file which seems more related to the main navigation and user navigation links. But when I move things around or even delete them, the navigation stays the same.

What should I do from here?
wjnesbitt
Senior Boarder
Posts: 72
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#26233
Re:Change color of "Upload" link & move usernav 1 Month ago Karma: 0
Somethings not right. Now, it won't accept any changes I make to any of the files. I make the changes and they show as saved in the file, but the page shows something different. Even after clearing the template cache.

Please help.
wjnesbitt
Senior Boarder
Posts: 72
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#26249
Re:Change color of "Upload" link & move usernav 1 Month ago Karma: 0
Never mind. I was editing the wrong files. I figured it out, though.
I actually had to edit the header.tpl and not the index.tpl.
wjnesbitt
Senior Boarder
Posts: 72
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#26275
Re:Change color of "Upload" link & move usernav 1 Month ago Karma: 0
Still can't seem to get the Upload link to change colors.
Seems that the main template CSS coding won't allow it. I tried what you recommened, but still nothing.
wjnesbitt
Senior Boarder
Posts: 72
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#26338
Re:Change color of "Upload" link & move usernav 1 Month ago Karma: 150
I looked at the file index.tpl, but not sure exactly what I'll need to edit to make these things happen.I'm sorry! I mean header.tpl...

But when I move things around or even delete them, the navigation stays the same.Perhaps you are not clearing your template cache from the hwdVideoShare administrator.

Or, maybe you are editing the wrong files... you need to edit the files for the template you are using:
documentation.hwdmediashare.co.uk/wiki/W...e_files_do_I_edit%3F

Seems that the main template CSS coding won't allow it.Change this:
{if $print_ulink}<li{$uon}>{$ulink}</li>{/if}
To this:
{if $print_ulink}<li{$uon} class="newcolour">{$ulink}</li>{/if}
Then add this to your CSS:
Code:

#hwdvs_navcontainer ul li.newcolour
{
background: url('".JURI::root( true )."/plugins/hwdvs-template/".$c->hwdvids_template_file."/images/button_custom.png') no-repeat top center!important;
}

Where button_custom.png is a custom image with your different colour. I haven't tested this, so it might need tweaking.
Davros
Administrator
Posts: 10822
graph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
If you like hwdVideoShare please consider rating it in the Joomla Extensions Directory
 
Go to topPage: 12
get the latest posts directly to your desktop

Copyright © 2007-2010 Highwood Design | Your Details | Terms of Use | About