Help needed with the 'Classic' template's navigation bar

Working on a new template and need help? Come here for support.

Moderator: Help Desk Team

Help needed with the 'Classic' template's navigation bar

Postby Dalgeor » April 1st, 2019, 6:29 pm

Hello there. I just started to upload my webcomic here and I'm having a little trouble when trying to modify the template. Here is how it looks so far:

http://equussiderae.smackjeeves.com/

I want to make a small edit only. In the Navigation bar, instead of saying 'First Comic' , 'Previous Comic' , 'Next Comic' I'd like to replace the word 'Comic' for the word 'Page'
Is this possible? As I have only one comic and I upload different pages, it may be a little confussing for people specially as I'm trying to bring my audience from instagram

Thank you very much for your help :)
User avatar
Dalgeor
 
Posts: 2
Joined: February 1st, 2019, 2:16 pm

Re: Help needed with the 'Classic' template's navigation bar

Postby eishiya » April 1st, 2019, 8:41 pm

It's possible, but you'll need to replace the automatically-generated menu with a manually coded one.

In the Menu portion of the template, find this part:
Code: Select all
<ul id="nav-menu">

   <!-- BEGIN links -->
   <li>
      <a href="{links.URL}">{links.TEXT}</a>
   </li>
   <!-- END links -->
   
</ul>


Get rid of the BEGIN links and END links bits, and copy the three lines between those for every link you want. Example:
Code: Select all
<ul id="nav-menu">

   <li>
      <a href="/">Home</a>
   </li>
   <li>
      <a href="{FIRST_COMIC_URL}">First Page</a>
   </li>
   <li>
      <a href="/comics/">Latest Page</a>
   </li>
   <li>
      <a href="/archive/">Archive</a>
   </li>

</ul>
Image
User avatar
eishiya
 
Posts: 9728
Joined: December 5th, 2009, 11:17 am

Re: Help needed with the 'Classic' template's navigation bar

Postby Dalgeor » April 2nd, 2019, 9:55 pm

Thank you very much, I could change it :)
User avatar
Dalgeor
 
Posts: 2
Joined: February 1st, 2019, 2:16 pm


Return to Template Development & Support

Who is online

Users browsing this forum: No registered users and 6 guests