ThemeShaper Forums » Thematic

[closed]

Trying to ad corner banner.

(3 posts)
  • Started 8 years ago by Tiubesock
  • Latest reply from Tiubesock
  • This topic is resolved
  1. Hi,

    I am currently in the process of trying to add a clickable top-right corner banner on my child theme and I am having issues getting it to become clickable. So far I have gotten the corner banner to display perfectly but I am stumped on making it clickable.

    website: http://www.millcitymoose.org

    style.css coding..

    #topright {
    position: absolute;
    right: 0px;
    top: 25px;
    height: 172px;
    width: 172px;
    background: url(images/corner.png) no-repeat;
    text-indent:-9999px;
    }

    functions.php coding.

    /* Modify aboveheader */
    function childtheme_aboveheader() { ?>
    <a href="http://www.facebook.com/pages/Mill-City-Moose-Lodge-2580/199174350107472" title="Join us on Facebook" id="topright"></a>
    <?php }
    add_action('thematic_aboveheader', 'childtheme_aboveheader');
    Posted 8 years ago #
  2. #header div has a z-index of 2. so you must add a higher z-index.

    Posted 8 years ago #
  3. Thank you, problem solved.

    Posted 8 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.