Need help changing the main links on home page

Need help changing the main links on home page
0.0 0

#1

Hi

I’m trying to change the order and wording of the main links on this site: landing.summful.com

I am not sure how to change the name of each link on the main page… The main links are: HOME / ABOUT / SUBSCRIBE / SERVICES / CONTACT

I would like different page names, and simply changing the code where I thought it was didn’t work, so I am wary of making errors.

I’d appreciate any guidance…

Many Thanks :slight_smile:

Mark


#2

They are between

<!-- START NAVIGATION MENU ITEMS -->

and

<!-- END NAVIGATION MENU ITEMS -->

You take the whole line:

<li><a href="#" data-slide="home" class="active">Home</a></li>

and move it where you want. To change name, change Home (last one, with capital H). Same with other links.

Should work.


#3

Awesome - thanks for this :slight_smile:

Same site (landing.summful.com) - one further query, if anyone can assist?

The footer year is displayed, as follows:

<div class="copyright animated" data-animation="fadeInUp" data-animation-delay="500">
    <p>© 2016 Summful.com - All Rights Reserved</p>
</div>
<!-- END COPYRIGHT -->

How do I add a bit of code that automatically updates the year?

Thanks
Mark


#4

One way is to replace 2016 with this code:

<script type="text/javascript">
  document.write(new Date().getFullYear());
</script>

It will take year from computer settings and display it, but If the user has incorrect year on his computer your footer will be wrong.


#5

Thanks
I’ve done this - looks a bit odd when viewing the code, but seems to be presenting OK in browser - what do you think - all OK?
:slight_smile:


#6

So I looked up your template:

On their page they claim:

Feature List:

  • Fully Responsive
  • Mobile Friendly
  • W3C Valid HTML

But these tools disagree:

W3 Validator:
https://validator.w3.org/nu/?doc=http%3A%2F%2Flanding.summful.com

Google Page Speed:
https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Flanding.summful.com

So it looks like you messed up their perfect template :smiling_imp:


#7

OK thanks :slight_smile: