Announcement

Collapse
No announcement yet.

Section to link directly to home page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Section to link directly to home page

    Hi all,

    I have created a new section in the top horizontal nav bar and when a customer clicks on it I want it to go directly to the sites home page index.html

    I have tried to do this and searched but cannot find the answer ?

    Thanks,

    Michael
    Kind regards,

    Michael

    www.stageprint.co.uk

    #2
    That would depend on what theme you are using and how you have created the link. Did you add a new section to the content tree or add code to the menu?. Do you have an example of your code you added?. And a link to your site?.
    Peblaco

    Comment


      #3
      Thank you for your reply.

      I added a new section called 'Home' in the content tree under 'online catalogue'. It shows the button where I want it to be but I need the click to go straight to my sites index.html page.

      www.stageprint.co.uk

      Thanks in advance,

      Michael
      Kind regards,

      Michael

      www.stageprint.co.uk

      Comment


        #4
        That just creates an empty shop section so not going to achieve what you require. In the Design Library the Mega Menu Layout after the first two lines of code add: <li><a href="<actinic:variable name="HomePageURL" />">Home</a></li>
        Peblaco

        Comment


          #5
          Many thanks it works.
          It has made the menu links a smaller font though, is that easy to fix ?

          As always, I will save this help in a file on my pc so I can find it easily again.

          Thanks,

          Michael
          Kind regards,

          Michael

          www.stageprint.co.uk

          Comment


            #6
            It looks like you added code incorrectly and it broke your layout. Your code has the first two lines twice, the instructions were to add the new line of code after the first two lines.
            Peblaco

            Comment


              #7
              Quite right, I added it again.

              Thanks very much for this.

              Michael
              Kind regards,

              Michael

              www.stageprint.co.uk

              Comment

              Working...
              X