Bonjour a tous,
Je ne sais pas si il y a des français par ici ?
voila mon petit soucis :
je voudrais enlever le nom de mon article qui s'affiche sur ma bannière.
Merci d'avance
Traduction Google:
how to remove the name of the article in my banner ?
Thanks !
Sorry for my english i'm french..
.
Title
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: Title
Can you provide a URL to your site?
You can either modify the template code so the title is not emitted at all, or you can use css to visually hide it.
You can either modify the template code so the title is not emitted at all, or you can use css to visually hide it.
=Don=
Re: Title
Oups My site : http://atoutalor.fr/Don Chambers wrote:Can you provide a URL to your site?
You can either modify the template code so the title is not emitted at all, or you can use css to visually hide it.
.
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: Title
The <h1> title is actually valuable for search engines, so rather than remove it, or make it completely invisible, one trick is to position it well outside the viewport.
In your template folder should be a file named style.css. Look for this code:
Shift those heading elements far to the left so they are not seen, but are still emitted:
a.homelink1,
a.homelink1:hover,
a.homelink1:link,
a.homelink1:visited,
#serendipity_banner h1 {
color: #731932;
font-size: 40px;
font-weight: bold;
padding-top: 45px;
padding-left: 60px;
margin: 0px;
text-decoration: none;
margin-left:-5000em;
}
a.homelink2,
a.homelink2:hover,
a.homelink2:link,
a.homelink2:visited,
#serendipity_banner h2 {
color: #506070;
font-size: 18px;
font-weight: bold;
padding-left: 65px;
margin: 0px;
text-decoration: none;
margin-left: -5000em;
}
Because of this technique, you can now also provide a blog name and blog description in serendipity's general configuration, which will be a good idea as they create various page <title> elements, which is also important to search engines.
In your template folder should be a file named style.css. Look for this code:
Code: Select all
a.homelink1,
a.homelink1:hover,
a.homelink1:link,
a.homelink1:visited,
#serendipity_banner h1 {
color: #731932;
font-size: 40px;
font-weight: bold;
padding-top: 45px;
padding-left: 60px;
margin: 0px;
text-decoration: none;
}
a.homelink2,
a.homelink2:hover,
a.homelink2:link,
a.homelink2:visited,
#serendipity_banner h2 {
color: #506070;
font-size: 18px;
font-weight: bold;
padding-left: 65px;
margin: 0px;
text-decoration: none;
}a.homelink1,
a.homelink1:hover,
a.homelink1:link,
a.homelink1:visited,
#serendipity_banner h1 {
color: #731932;
font-size: 40px;
font-weight: bold;
padding-top: 45px;
padding-left: 60px;
margin: 0px;
text-decoration: none;
margin-left:-5000em;
}
a.homelink2,
a.homelink2:hover,
a.homelink2:link,
a.homelink2:visited,
#serendipity_banner h2 {
color: #506070;
font-size: 18px;
font-weight: bold;
padding-left: 65px;
margin: 0px;
text-decoration: none;
margin-left: -5000em;
}
Because of this technique, you can now also provide a blog name and blog description in serendipity's general configuration, which will be a good idea as they create various page <title> elements, which is also important to search engines.
=Don=
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact: