Theme Author
Guido
(@guido07111975)
Hi,
The border (blue line) on the homepage is part of the homepage widgets, this should not be there when no widgets are added..
To add the border at every page, add this at the Extra CSS page of the Customizer in your dashboard:
#homepage-widgets {border-bottom:0;}
#header-second {padding:0 0 20px; border-bottom:3px solid #0066ff;}
Guido
Thread Starter
jewast
(@jewast)
Thank you very much, that worked!
Another question: The guys I set up the Homepage for (a volunteers project) asked, if it is possible to switch the sides of the menu-box and the text?
Unfortunately I only know how to use WP and not how to tweak it.
Regards, Jens
Theme Author
Guido
(@guido07111975)
Hi Jens,
For that you can use this CSS:
#content {float:right; padding:20px 2% 20px 0;}
#sidebar {float:left; padding:20px 0 0 2%;}
Don’t add this in theme file style itself, but at the Extra CSS page of the Customizer in your dashboard. Otherwise you will loose those changes when theme gets an update. And there’s an update soon, including changes in file header.
Guido
Thread Starter
jewast
(@jewast)
Great, thank you very much!
Theme Author
Guido
(@guido07111975)
You’re welcome!
I forgot to cover the small mobile screen, add this underneath the other CSS that I gave you:
@media screen and (max-width:767px) {
#content {float:left; padding:10px 0 20px;}
#sidebar {padding:0;}
}
Guido
Thread Starter
jewast
(@jewast)
Awesome π Thanks again!
Thread Starter
jewast
(@jewast)
Hi, sorry to bother you againβ¦ Another request: Between the blue line and the follwoing text within “Aktuelles” is a larger space than it is between the other link options. Is it possible to align that space? E.g. increasing the space via Custom CSS?
Regards!
Theme Author
Guido
(@guido07111975)
Hi,
When I inspect the source code of your homepage, I notice that the container for the homepage widgets is present there. But you didn’t add homepage widgets, am I right? So it seems you have removed a condition for these widgets, from file header.
It’s best to add this condition in file header again. This condition:
<?php if ( is_active_sidebar( 'homepage-right' ) || is_active_sidebar( 'homepage-left' ) ) { ?>
// homepage widgets code
<?php } ?>
For original version of file header, check this page.
FYI: theme update soon, mostly minor changes in CSS.
Guido
Thread Starter
jewast
(@jewast)
Yes, thanks, I edited the Header because we want the logo to appear on every page. And this way it is only active on the landing page.
Theme Author
Guido
(@guido07111975)
Understand this, but the condition for the homepage widgets is another one, has nothing to do with the header image.
Guido
Thread Starter
jewast
(@jewast)
Hm, ok, I replaced the CSS with the original one and now the Header Image is missing on the sub-pages. The menu is placed via a widget, isn’t that correct?
Thread Starter
jewast
(@jewast)
Now I remeber π I deleted those lines because of this thread: https://ww.wp.xz.cn/support/topic/header-always-visible-1/
-
This reply was modified 5 years ago by
jewast.