Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Michela 11 posts 31 karma points
    Aug 04, 2010 @ 16:04
    Michela
    0

    Logo disappears when looking at tab subdivisions....

    Hello!

    I work for www.seminex.com and I've just edited the logo in the Master template. As you can see, the logo (Seminex Corporation, top left) appears if you are on any of the main pages in the tabbed navigation. However if you go to the "About Us" tab and click "Contact Us", you will see that the logo disappears. Same goes for any other subdivision of a tab. Anyone know what is wrong? I have changed everything I can think of in all my templates but still the logo disappears. Currently the logo is a .png file, but I have tried .gif and .jpg as well and that did not change anything. (Before I changed the logo, it appeared on all pages on the sites without problem.)

    Here is the code:

    <body>
       <div id="container">
           <div id="header">
               <form name="BannerSearch" method="POST" action="/search.aspx">
               <div id="branding">
                   <a href="/" alt="home" title="home"><img src="media/18899/seminex_corp_logo2.png" alt="SemiNex" /></a>
               </div>
               <div id="toolbox">
                   <table cellpadding="0" cellspacing="0"><tr>
                       <td><input type="text" name="search" value="search" size="10">&nbsp;<a><input type="image" value="search now" name="SearchNow" title="search now" src="/images/tb_search-02.gif"></a></td>
                       <td><a href="/home.aspx" title="home"><img src="/images/tb_home-02.gif" alt="home" title="home" /></a></td>
                       <td><a href="/about-us/contact-us.aspx" title="contact"><img src="/images/tb_contact-02.gif" alt="contact us" title="contact us" /></a></td>
                       <td><a href="/sitemap.aspx" title="sitemap"><img src="/images/tb_sitemap-02.gif" alt="sitemap" title="sitemap"/></a></td>
                   </tr></table>
               </div>
               </form>
           </div>

     

    Sidenote: If anyone knows how to change the location of the logo, that would be helpful as well. It seems that Umbraco has its own code for headers that does not have any place to change location.

  • Bas Schouten 135 posts 233 karma points
    Aug 04, 2010 @ 16:06
    Bas Schouten
    2

    You have to put a / for the path.

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Aug 04, 2010 @ 16:08
    Sebastiaan Janssen
    0

    Change this line:

    <a href="/" alt="home" title="home"><img src="media/18899/seminex_corp_logo2.png" alt="SemiNex" /></a>

    Into this (note the extra "/" before "media".

    <a href="/" alt="home" title="home"><img src="/media/18899/seminex_corp_logo2.png" alt="SemiNex" /></a>
  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Aug 04, 2010 @ 16:08
    Matt Brailsford
    1

    Hi Michella,

    As a quick fix, you'll need to add a '/' to the begining of your path to the image

    /media/18899/seminex_corp_logo2.png

    To make it more dynamic, you'd want to look at adding a media picker property to a doc type and then get it to work out the path dynamically.

    What is your current experience level with Umbraco?

    Many thanks

    Matt

  • Michela 11 posts 31 karma points
    Aug 04, 2010 @ 16:09
    Michela
    0

    aiyayaye!!! I ALWAYS mess up the slashes! The last issue was because I added one.... Thanks so much guys.

  • Michela 11 posts 31 karma points
    Aug 04, 2010 @ 16:12
    Michela
    0

    @Matt. I've only been using it for about a month. The site was already built when I was hired. No idea how I got put on site-duty, but here I am. I'm good with basic html format editing, but the actual building and structuring I have no idea how to do.

Please Sign in or register to post replies

Write your reply to:

Draft