Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • coopoli Friend
    #170965

    Hi guys
    Is there a way to set the H1 tag to the article title? Mabye also to remove/change the H tag on the logo…?

    Im running
    Quicksetup joomla 1.7
    JA Teline IV

    Any answer is much apprechiated 🙂

    T.i.a

    Regards

    //Miguel

    khoand Friend
    #425889

    Hi,
    You find this code from templatesja_teline_ivhtmlcom_contentarticledefault.php

    <h2 class="contentheading"> < change this line
    <?php if ($params->get('link_titles') && !empty($this->item->readmore_link)) : ?>
    <a href="<?php echo $this->item->readmore_link; ?>">
    <?php echo $this->escape($this->item->title); ?></a>
    <?php else : ?>
    <?php echo $this->escape($this->item->title); ?>
    <?php endif; ?>
    </h2>< change this line

    – You delete all of files of /cache and /t3-assets directory.

    coopoli Friend
    #425890

    Thanks khoand, it worked:-)

    Now, how can i remove/change the H1 tag from the logo?

    //Miguel

    khoand Friend
    #425895

    You change this code from templatesja_teline_ivblocksheader.php

    <h1 class="logo">
    <a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
    </h1>

    coopoli Friend
    #425898

    When i change that, the logo dissapears and the sites name become visible under the “date & time” up to the left.

    See my site: http://www.leksaker-tips.se/

    khoand Friend
    #425906

    You replace

    h1.logo
    with

    .logo

    in /templates/ja_teline_iv/css/template.css

    coopoli Friend
    #425917

    Thanks for helping me, man. But i just can´t get it right… Im a beginner on this stuff…:-[

    Heres the code im trying to edit:
    [PHP]/* HEADER
    ——————————————————— */
    #ja-header { }

    #ja-header .main { height: 115px; padding: 0; }

    h1.logo, div.logo-text h1 { font-size: 40px; line-height: 1; }

    /* Logo Image —*/
    h1.logo { height: 57px; margin-top: 40px; width: 222px; }

    h1.logo a {
    background: url(../images/logo.png) no-repeat left top;
    display: block;
    height: 57px;
    width: 222px;
    }

    h1.logo a:hover, h1.logo a:focus { background-position: left bottom; }

    /* Logo Text —*/
    div.logo-text { margin-top: 40px; }

    div.logo-text h1 { letter-spacing: 2px; margin-left: 2px; }

    div.logo-text h1 a { color: #000; text-decoration: none; }[/PHP]

    Can you please return the correct changes so i can paste it to the file.

    Thanks in advance

    Regards

    Miguel

    khoand Friend
    #425923

    – You replace this code from pluginssystemjat3jat3base-themesdefaultcsstemplate.css

    h1.logo a span { position: absolute; top: -1000px; }
    with

    .logo a span { position: absolute; top: -1000px; }
    – You replace this code from templatesja_teline_ivcsstemplate.css

    /* HEADER
    --------------------------------------------------------- */
    #ja-header { }

    #ja-header .main { height: 115px; padding: 0; }

    h1.logo, div.logo-text h1 { font-size: 40px; line-height: 1; }

    /* Logo Image ---*/
    h1.logo { height: 57px; margin-top: 40px; width: 222px; }

    h1.logo a {
    background: url(../images/logo.png) no-repeat left top;
    display: block;
    height: 57px;
    width: 222px;
    }

    h1.logo a:hover, h1.logo a:focus { background-position: left bottom; }

    /* Logo Text ---*/
    div.logo-text { margin-top: 40px; }

    div.logo-text h1 { letter-spacing: 2px; margin-left: 2px; }

    div.logo-text h1 a { color: #000; text-decoration: none; }
    with

    /* HEADER
    --------------------------------------------------------- */
    #ja-header { }

    #ja-header .main { height: 115px; padding: 0; }

    .logo, div.logo-text h1 { font-size: 40px; line-height: 1; }

    /* Logo Image ---*/
    .logo { height: 57px; margin-top: 40px; width: 222px; }

    .logo a {
    background: url(../images/logo.png) no-repeat left top;
    display: block;
    height: 57px;
    width: 222px;
    }

    .logo a:hover, .logo a:focus { background-position: left bottom; }

    /* Logo Text ---*/
    div.logo-text { margin-top: 40px; }

    div.logo-text h1 { letter-spacing: 2px; margin-left: 2px; }

    div.logo-text h1 a { color: #000; text-decoration: none; }

    coopoli Friend
    #425924

    I did that, but still the shops name is visible underneath the logo… Any ideas?

    Again, thaks for giving me your time:-)

    EDIT:
    I missed the first code snippet (jat3)
    After i changed that the shops namne is gone, but the “padding” or “margin” is fishy instead. Theres a big space around the logo now…

    //Miguel

    khoand Friend
    #425926

    You replace this code from /plugins/system/jat3/jat3/base-themes/default/css/template.css

    h1.logo a span {
    position: absolute;
    top: -1000px;
    }

    with

    .logo a span {
    position: absolute;
    top: -1000px;
    }

    coopoli Friend
    #425930

    Im sorry, but that don´t seem to make any differents… Any other ideas?

    Thanks!

    khoand Friend
    #425932

    I see your problem solve. There is a snapshot your website :


    1. 1
    khoand Friend
    #426134

    You try clean cache of browser.

    jpre Friend
    #447815

    <em>@khoand 284333 wrote:</em><blockquote>I see your problem solve. There is a snapshot your website :
    </blockquote>

    This is not right, there is error in the layout!
    I need to remove urgent H1 Tag Logo Site

    Any solutions?

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

This topic contains 14 replies, has 3 voices, and was last updated by  jpre 12 years, 7 months ago.

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