Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • vicentebelmonte Friend
    #195163

    Hello:

    How could I change the style h1 to avoid the problem of duplicate H1 in my web site?

    I have FRAMEWORD t3v3 and JA MERO 1.0

    Thanks a lot and excuse for my poor english


    1. 1
    pavit Moderator
    #524162

    Hi

    In this file templatesja_merotplsblocksheader.php edit the h1 tag

    <!-- LOGO -->
    <div class="span8">
    <div class="logo 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>
    <small class="site-slogan hidden-phone"><?php echo $slogan ?></small>
    </h1>
    </div>
    </div>
    <!-- //LOGO -->

    vicentebelmonte Friend
    #524172

    But the problem is that the logo image disappear…

    pavit Moderator
    #524174

    It disappears because it has settings in css as logo h1

    edit this file templatesja_merocsstemplate.css line 2699

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

    change to

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

    vicentebelmonte Friend
    #524237

    Doesn´t works 🙁

    I edit this file templatesja_merocsstemplate.css line 2699 not in my file it´s in 2466

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

    ******************************************************************

    And In this file templatesja_merotplsblocksheader.php edit the h1 tag

    **********************************************************************
    <h3><!– Antes H1 –>
    <a href=”<?php echo JURI::base(true) ?>” title=”<?php echo strip_tags($sitename) ?>”<?php echo $logoimage ?>>
    <span><?php echo $sitename ?></span>
    </a>
    <small class=”site-slogan hidden-phone”><?php echo $slogan ?></small>
    </h3>

    *************************************************

    pavit Moderator
    #524256

    If you add the h3 in header.php then in your css it should be

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

    vicentebelmonte Friend
    #524262

    I did it but It didn´t work 🙁

    pavit Moderator
    #524266

    could you post here a link to your page ?

    Just tried on my localhost and it worked

    vicentebelmonte Friend
    #524268

    OK!! Sure…

    http://www.g2k.es

    vicentebelmonte Friend
    #524455

    Excuse me! Something new about the problem?

    Thanks! 🙂

    pavit Moderator
    #524458

    <em>@vicentebelmonte 413512 wrote:</em><blockquote>Excuse me! Something new about the problem?

    Thanks! :-)</blockquote>

    This is not a problem but you are asking for a customization of the code.
    Please send me via PM a super user account to your backend and also an ftp user , i will check your files

    vicentebelmonte Friend
    #524482

    I´m sorry….Sometimes I don´t use very well my English sentence 🙁

    Well I´ve finally could fix it (with your help obviously)

    I had changed the file “templates.css” in wrong folder:

    templates/ja_mero/css/

    But I had to do it in:

    templates/ja_mero/css/themes/light

    Thank you very much!!!! 🙂

Viewing 12 posts - 1 through 12 (of 12 total)

This topic contains 12 replies, has 2 voices, and was last updated by  vicentebelmonte 10 years, 8 months ago.

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