close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Navigational Links Editable?

Thread began 8/10/2010 11:57 am by subsutra411623 | Last modified 8/11/2010 3:13 pm by Jason Byrnes | 1330 views | 7 replies |

subsutra411623

Navigational Links Editable?

Hello. I'm building this site for a friend and he'd like to remove the 'First' and 'Last' found in the upper navigation of the 'Ribbon Fullsize' gallery. We'd like it to just be 'Prev' and 'Next', but I tried to remove these from the gallery's index.php and the gallery.js, but removing them killed the functionality.

Secondly, I'm been trying to edit the common.css for this gallery but I'm unable to effect the navigation font and background colors. I've looked into a .nav conflict with my site's style.css, but couldn't find one. Any ideas?

index_test3.php

Changing the '.pg-rf .nav a' here doesn't do anything:
common.css

Thanks in advance for your help.

Sign in to reply to this post

Jason ByrnesWebAssist

in the galeries/ribbon_fullsize/index.php file, you can edit the navigation:

php:
<!-- navigation -->

    <div class="nav">
      <a href="#" class="first">First</a>
      <a href="#" class="prev">Prev</a>
      <a href="#" class="next">Next</a>
      <a href="#" class="last">Last</a>
    </div>




since you are using the Light design, color changes to the navigation need to be made in the galleries/ribbon_fullsize/css/light.css file.

Sign in to reply to this post

subsutra411623

in response

Thanks for the quick response, but I've found that removing the 'First' and 'Last' from the index.php file breaks the functionality of the remaining navigation. I've removed them and now doesn't work:

index_test3.php

Sign in to reply to this post

Jason ByrnesWebAssist

Ok, instead of removing them, set the visibility property to hidden:

php:
<div class="nav">

      <a href="#" class="first" style="visibility:hidden;">First</a>
      <a href="#" class="prev">Prev</a>
      <a href="#" class="next">Next</a>
      <a href="#" class="last" style="visibility:hidden;">Last</a>
    </div>
Sign in to reply to this post

subsutra411623

Thanks, that worked, however when trying to align-right 'Next', there is a space for 'Last', even though it's hidden:

index_test3.php#

I can increase this to get it close, but it's not a true align-right:

.pg-rf .nav {
width: 575px;

Any ideas? Thanks!

Sign in to reply to this post

Jason ByrnesWebAssist

re order the links:

php:
<div class="nav">

      <a href="#" class="first" style="visibility:hidden;">First</a>
      <a href="#" class="last" style="visibility:hidden;">Last</a>
      <a href="#" class="prev">Prev</a>
      <a href="#" class="next">Next</a>     
</div>
Sign in to reply to this post

subsutra411623

Worked great, thanks for all your help!

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...