1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Link problem

Discussion in 'XenForo Development Discussions' started by Zephyr, Sep 23, 2012.

  1. Zephyr

    Zephyr Well-Known Member

    Hello, I am trying to add a link in the templates XenForo and I have a problem:

    [​IMG]

    HTML result (firebug) =>

    [​IMG]

    The link do not round the div named logoBlock.
    How should I do please ?
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Can you post the URL? Are you sure that's not the browser changing the source?

    I suggest changing the existing anchor tag. Change the {$logoLink}.
     
  3. Zephyr

    Zephyr Well-Known Member

    [​IMG]

    Return ==>

    [​IMG]

    Same problem, this is not a browser issue, firebug shows how html it is structured.
    This is not a HOOK problem ?

    I want the red zone (id="logoBlock") is clickable to return index without use the logo.

    [​IMG]
     
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    I just tested this. You need to remove the inner "a" tag. You can't have nested links.
     
    Zephyr and Jeremy P like this.
  5. Zephyr

    Zephyr Well-Known Member

    Indeed, thank you Jake! :)
     

Share This Page