-
AuthorPosts
-
November 22, 2011 at 12:12 pm #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 IVAny answer is much apprechiated 🙂
T.i.a
Regards
//Miguel
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
November 22, 2011 at 1:40 pm #425889Hi,
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.November 22, 2011 at 1:46 pm #425890Thanks khoand, it worked:-)
Now, how can i remove/change the H1 tag from the logo?
//Miguel
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
November 22, 2011 at 2:03 pm #425895You 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>November 22, 2011 at 2:11 pm #425898When 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 Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
November 22, 2011 at 2:30 pm #425906You replace
h1.logo
with
.logo
in /templates/ja_teline_iv/css/template.cssNovember 22, 2011 at 3:08 pm #425917Thanks 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 Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
November 22, 2011 at 3:33 pm #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; }
November 22, 2011 at 3:42 pm #425924I 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 Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
November 22, 2011 at 3:47 pm #425926You 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;
}November 22, 2011 at 4:31 pm #425930Im sorry, but that don´t seem to make any differents… Any other ideas?
Thanks!
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
November 22, 2011 at 4:47 pm #425932khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
November 23, 2011 at 4:07 pm #426134You try clean cache of browser.
April 9, 2012 at 3:12 am #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 SiteAny solutions?
AuthorPostsViewing 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
Set H1 tag to article title?!
Viewing 14 posts - 1 through 14 (of 14 total)