Hallo, ich möchte meine mobile Version von Twenty Eleven Theme ähnlich meiner normalen Theme innerhalb des Child Theme bearbeiten.
Ich möchte den Seiten-Titel und die Seite-Beschreibung nicht anzeigen lassen. Das habe ich wie folgt in meiner Child Theme für die normale Seite gemacht.
PHP
/* =Header
----------------------------------------------- */
#site-title {
margin-right: 270px;
padding: 0.65625em 0 0;
display: none;
}
#site-description {
color: #7a7a7a;
font-size: 14px;
margin: 0 270px 0.15625em 0;
display: none;
}
Alles anzeigen
Also habe ich das analog auch für das Response / Mobile Theme ausprobiert aber ohne Erfolg.
PHP
/* =Responsive Structure
----------------------------------------------- */
/* Reposition the site title and description slightly */
#site-title {
padding: 5.30625em 0 0;
display: none;
}
#site-title,
#site-description {
margin-right: 0;
display: none;
}
Alles anzeigen
Leider bringt das keine Änderung. Aber woran liegt es?
Hier auch mal mein komplettes Child-Theme:
PHP
/*
Theme Name: TwentyEleven_Child
Theme URI: http://xxxxxxxx.de
Description: Child theme for the Twenty Eleven theme
Author: DrMZxx
Author URI: http://xxxxxxxx.de
Template: twentyeleven
Version: 0.1.1
*/
@import url("../twentyeleven/style.css");
/* =Structure
----------------------------------------------- */
#page {
margin: 1em auto;
max-width: 1000px;
}
/* =Global
----------------------------------------------- */
body {
background: #ffffff;
}
/* =Header
----------------------------------------------- */
#site-title {
margin-right: 270px;
padding: 0.65625em 0 0;
display: none;
}
#site-description {
color: #7a7a7a;
font-size: 14px;
margin: 0 270px 0.15625em 0;
display: none;
}
/* Search Form */
#branding #searchform {
display:none;
position: absolute;
top: 6.8em;
right: 7.6%;
text-align: right;
}
/* =Footer
----------------------------------------------- */
/* Site Generator Line */
#site-generator {
background: #ffffff !important;
border-top: 1px solid #ddd;
color: #666;
font-size: 12px;
line-height: 2.2em;
padding: 2.2em 0.5em;
text-align: center;
}
/* =Responsive Structure
----------------------------------------------- */
/* Reposition the site title and description slightly */
#site-title {
padding: 5.30625em 0 0;
display: none;
}
#site-title,
#site-description {
margin-right: 0;
display: none;
}
/* Intro */
article.intro {
background: #ffffff;
border-bottom: none;
margin: -1.855em -8.9% 1.625em;
padding: 0 8.9%;
/* Child-Footer */
Alles anzeigen