Viewing 1 post (of 1 total)
  • Author
    Posts
  • reneryg Friend
    #194633

    If you both have a logo H1 tag and a article H1 tag on your website you must remove /change the logo as H1 TAG

    The best SEO practice is only have one H1 Tag per page.

    This short tutorial hack how to change the LOGO H1 tag to a LOGO H5 tag.

    You need to change two files:

    The first file is found in the parth: /templates/”ja template”/css/template.css

    or also this css file in the path /t3-assets/css/css-408e5.css

    .logo h1,
    .logo h1 a {
    display: inline-block;
    line-height: 1;
    margin: 0;
    }

    Change h1 to h5

    .logo h5,
    .logo h5 a {
    display: inline-block;
    line-height: 1;
    margin: 0;
    }
    ___________________________________________
    .logo-image h1 {
    display: block;
    font-size: 0;
    }

    Change h1 to h5

    .logo-image h5 {
    display: block;
    font-size: 0;
    }
    _________________________________________________
    .logo-image h1 a {
    background-image: url(“../images/logo.png”);
    background-repeat: no-repeat;
    width: 91px;
    height: 20px;
    }

    Change h1 to h5

    .logo-image h5 a {
    background-image: url(“../images/logo.png”);
    background-repeat: no-repeat;
    width: 91px;
    height: 20px;
    }
    ____________________________________
    .logo-image h1 a span,
    .logo-image h1 a small {
    display: none;
    }

    Change h1 to h5

    .logo-image h5 a span,
    .logo-image h5 a small {
    display: none;
    }
    ___________________________________

    Then change the header.php file in the path:

    /templates/”ja template”/tpls/blocks

    <!– LOGO –>

    <div class=”span2 logo”>

    <div class=”logo-<?php echo $logotype ?>”>

    <h1>

    <a href=”<?php echo JURI::base(true) ?>” title=”<?php echo strip_tags($sitename) ?>”<?php echo $logoimage ?>>

    <span><?php echo $sitename ?></span>

    </a>

    </h1>

    Change h1 to h5

    <!– LOGO –>

    <div class=”span2 logo”>

    <div class=”logo-<?php echo $logotype ?>”>

    <h5>

    <a href=”<?php echo JURI::base(true) ?>” title=”<?php echo strip_tags($sitename) ?>”<?php echo $logoimage ?>>

    <span><?php echo $sitename ?></span>

    </a>

    </h5>

    “Mission done on the joomlart template http://rygklinik-sjaelland.dk/

Viewing 1 post (of 1 total)

This topic contains 1 reply, has 1 voice, and was last updated by  reneryg 10 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum