1

I have created a static block with the identifier top_menu and one with the identifier footer_links with different links than the previous block with the same identifier.

Why is the "Contact Us" link sitting lower than it should in the navigation bar, and why are the links "WHY CHOOSE US?", "FAQ" and "CONTACT US" sitting above row 2 (the existing links) at a smaller size without the hover property, when it should be in row 1 (to the left of the existing links)?

Please see images

Link to Store: https://cashino.kellyseye.com/

enter image description here enter image description here

  • Did you manage it through cms block? – Sukumar Gorai Sep 6 '18 at 13:17
  • I have just added the static blocks by navigating to CMS > Static Blocks. The name and identifier of the block is identical to the previous block which displayed correctly. This can be seen at store.kellyseye.com - I just wanted to remove certain links for my new store view. – Jordan C Sep 6 '18 at 13:18
  • Check my answer. – Sukumar Gorai Sep 6 '18 at 13:20
  • 1
    hi @jordan, please mark as acceptance answer to the answer that solved your question :) – mrfizh Sep 6 '18 at 15:15
0

You have added your code in like below:

<ul>
    <li><a href="https://cashino.kellyseye.com/whychooseus/">Why Choose Us?</a></li>
    <li><a href="https://cashino.kellyseye.com/faq/">FAQ</a></li>
    <li><a href="https://cashino.kellyseye.com/contacts/">Contact Us</a></li>
</ul>

Which should be:

<div class="links">
    <ul>
        <li><a href="https://cashino.kellyseye.com/whychooseus/">Why Choose Us?</a></li>
        <li><a href="https://cashino.kellyseye.com/faq/">FAQ</a></li>
        <li><a href="https://cashino.kellyseye.com/contacts/">Contact Us</a></li>
    </ul>
</div>

Replace your static block code with the above code.

0

It looks as though when you have added your block, you haven't added the correct HTML.

Looking at your code, you are missing a;

<div class="links">

Around your unordered list. There are a few ways you can do this.

  1. Add it into the static block itself.
  2. If you are calling getChildHtml('child') - wrap this in a div.
  3. Or if you are using just XML use the arguments function.

Hope this helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.