Announcement

Collapse
No announcement yet.

Make logo clickable

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

    Make logo clickable

    Hi all

    I've been banging my head against a brick wall all morning trying to make my logo clickable so that it goes to the home page. I eventually managed to do it by putting my code in a div but I get a border round the logo now. I know it's the div that's doing it, but how I get it stop doing it? Somebody please help before I put my fist in the monitor!!!!!

    This is the code I've got

    <div id="header">

    <a href="index.html"><img src="<actinic:variable name="BrochureLogo">" width="<actinic:variable name="BrochureLogoWidth" />" height="<actinic:variable name="BrochureLogoHeight" />" alt="<actinic:variable name="StoreName" />" class="logoimage" frameborder="0"></a>

    </div>
    I'm sure it's obvious but I'm having one of those days again!!!!!

    Thanks in advance

    #2
    Are you using frames? If you are, then i'd strongly advise you to get rid of them. If you are not using them, then try this:

    Code:
    <div id="header"> 
    
    <a href="/."><img src="<actinic:variable name="BrochureLogo">" width="<actinic:variable name="BrochureLogoWidth" />" height="<actinic:variable name="BrochureLogoHeight" />" alt="<actinic:variable name="StoreName" />" class="logoimage" border="0"></a>
    
    </div>

    Comment


      #3
      Originally posted by leehack
      Code:
      <a href="/.">
      Sounds like a cue for a fight


      Bikster
      SellerDeck Designs and Responsive Themes

      Comment


        #4
        LOL Jonty.

        Comment


          #5
          Originally posted by leehack
          Are you using frames? If you are, then i'd strongly advise you to get rid of them.
          I did have an iframe at one stage - one of the many things I tried!!!! But I got rid of it.

          Code:
          <div id="header"> 
          
          <a href="/."><img src="<actinic:variable name="BrochureLogo">" width="<actinic:variable name="BrochureLogoWidth" />" height="<actinic:variable name="BrochureLogoHeight" />" alt="<actinic:variable name="StoreName" />" class="logoimage" border="0"></a>
          
          </div>
          This seems to have really screwed it up!!!!! Can't see my logo now!!!! Glad I asked for some help! lol. It looks like it's one of those days - maybe I should go back to bed and get out of the other side. hahaha

          Any other suggestions? Sorry Lee, I'm not poking fun at you - don't get me wrong - just laughing at how something so simple can screw a whole day up!!!

          Thanks for your help

          Comment


            #6
            Can you provide the code that you have on your page including the code just before and just after, i can't see any reason why that doesn't work.

            If it's totally screwed, then just put your code back in to get it back as you was.

            A URL woudl be helpful too, blind assistance is difficult at times. I'm pretty sure you have some remnants of other things cocking it up and it's not that code, but i can't say for sure without seeing it.

            Comment


              #7
              The code you provided is the only code on that page.

              Comment


                #8
                I've replaced it with the code that was originally in Standard Brochure Logo Image

                Comment


                  #9
                  Scroll up a level to the outer layout and show me 10 lines before and after that code on the page. Can't help thinking it's iframe remnants, without seeing it.

                  There's a variable for your home page link to, you could include it between the quotes on this line:

                  <a href="INSERT IT HERE">

                  I don't think that is the problem though to be honest.

                  Comment


                    #10
                    Lee

                    It's definitely NOT remnants from the iframe as I only put it in within the Standard Brochure Logo Image.

                    The code I've got before and after is as follows:

                    <table width="100%" cellspacing="0" cellpadding="10" border="0" style="background-image:url('theme_topbar_background2.gif');">
                    <tr>
                    <td><actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%21%3d%20%22Brochure%22"><actinic:variable name="CompanyLogoImage" /></actinic:block> <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Brochure%22"><actinic:variable name="BrochureLogoImage" /></actinic:block></td>
                    <td align="right">
                    &nbsp;
                    </td>
                    </tr>
                    </table>
                    <table width="100%" cellspacing="0" cellpadding="5" class="secondbar" style="background-image:url('theme_secondbar_background.gif');">
                    <tr>
                    <td>
                    <actinic:variable name="QuickSearchBar" />
                    </td>
                    <td align="right">
                    <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Brochure%22">
                    <actinic:variable name="BrochureNavBar" value="Brochure Nav Bar Text Link List" />
                    </actinic:block>
                    <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%21%3d%20%22Brochure%22">
                    <actinic:variable name="NavigationBar" value="Horizontal Nav Bar Text Links" />
                    </actinic:block>
                    </td>
                    </tr>
                    </table>
                    I'm having this problem on the Brochure page, if it makes any difference.

                    Thanks for helping

                    Comment


                      #11
                      Originally posted by leehack

                      There's a variable for your home page link to, you could include it between the quotes on this line:

                      <a href="INSERT IT HERE">

                      I don't think that is the problem though to be honest.
                      When I do that your code is now exactly the same as mine with the exception that I had frameborder="0" and yours was border="0", yet my code works and yours doesn't. What is going on???

                      Comment


                        #12
                        To be honest what the hell frameborder is i do not know. Can you upload a test site so i can see the source code? It will be something stupid almost certainly. I'm figuring there is some errant tag(s) around. What theme you on, sounds like you have some frames to me?

                        Comment


                          #13
                          Stop Press!!!

                          <div id="header">

                          <a href="index.html"><img src="<actinic:variable name="BrochureLogo">" width="<actinic:variable name="BrochureLogoWidth" />" height="<actinic:variable name="BrochureLogoHeight" />" alt="<actinic:variable name="StoreName" />" class="logoimage" frameborder="0"></a>

                          </div>
                          Changed frameborder="0" to border="0" and it works now. Don't know why your code didn't work Lee - mine's exactly the same as yours now!!!

                          Thank you very much for looking into though - really appreciate it.

                          Comment


                            #14
                            It's sorted now that's the main thing. I had it working fine my end, so i presume you made a slight mistake when pasting or something, we may never know to be honest.

                            HTH

                            Comment


                              #15
                              Lee - don't think it was a mistake pasting. More like the day's out to get me!!! Thanks for your time - I really appreciate it. I'm sure a lot of people will agree that you're a real gem on this site!!!

                              Thanks once again.

                              Comment

                              Working...
                              X