• Resolved thecampingcampground

    (@thecampingcampground)


    Hi,
    Im new to this wordpress stuff as of yesterday so please excuse me if this is simple to do. I am wanting to add a log to my website but all i get is a broken link image my code looks like this:

    <?php art_menu_items(); ?>
    
    	</div>
    </div>
    <div class="art-Header">
        <div class="art-Header-jpeg"></div>
    <div class="art-Logo">
        <h1 id="name-text" class="art-Logo-name">
            <a>/"><?php if  ( file_exists( TEMPLATEPATH . '/public_html/wp-content/themes/superstore_camping/images/camping_logo.jpg' ) ) { ?>
      </a><a>"><img src="<?php bloginfo('template_url'); ?>/public_html/wp-content/themes/superstore_camping/images/camping_logo.jpg" alt="<?php bloginfo('name'); ?>" /></a>
      <?php } else { ?>
      <h1><a>"><img src="<?php echo get_option('home'); ?>/public_html/wp-content/themes/superstore_camping/images/camping_logo.jpg" title="TheCampingCampground." alt="IMAGE TEXT." height="125" width="250"/></a></h1>
    <? } ?></h1>
        <div id="slogan-text" class="art-Logo-text">
            <?php bloginfo('description'); ?></div>
    </div>

    Any help would be very appreciated many thanks

    Jono

Viewing 4 replies - 16 through 19 (of 19 total)
  • Are you sure you want to move it in the top right corner? Let’s make sure I understand where you need it to be. when you say top right you want to have it above the head of the character?in your header? or you mean the top right of the page outside the header? or do you want it resized? or is the left top corner of the header the right place for it?

    Thread Starter thecampingcampground

    (@thecampingcampground)

    the top left corner of the header were the mountains are i think this is the best place for it..

    ok then let’s try:

    <h1 id="name-text" class="art-Logo-name">
    /"><?php if ( file_exists( TEMPLATEPATH . '/images/camping_logo.jpg' ) ) { ?>
    "><img src="<?php bloginfo('template_url'); ?>/images/camping_logo.jpg" alt="<?php bloginfo('name'); ?>" style="float: left; margin-top: -95px;" />
    <?php } else { ?>
    <img src="<?php echo get_option('home'); ?>/wp-content/themes/superstore_camping/images/camping_logo.jpg" title="TheCampingCampground." alt="IMAGE TEXT." height="125" width="250" style="float: left; margin-top: -95px;" /></h1>
    <?php } ?></h1>

    Replace this in your code and check it, let me know if it’s ok.

    Thread Starter thecampingcampground

    (@thecampingcampground)

    amazing works great many thanks you have been extreamly helpful i guess i need to learn more before i fiddle again hahaha.

    Again thanks for your time and been so quick to respond

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Adding a logo’ is closed to new replies.