CSS based on current page / different Logo
-
Hi there,
Ive got one question regarding this link/topic:
http://laytheme.com/documentation.html#css-based-on-current-pageIs it possible to do change the sitle title on an about page only, when the site title is a picture - so if you want to load a different picture on the about page?
Thanks again for your great Theme and Support.
-
Dear @michaelenglert
to make the website to autodetect if the sitetitle is a picture is possible, but some jQuery work. And probably not very performative.Why do you not make a CUSTOM CSS and activate it when you switch the sitetile to a picture manually?
Best!
Marius
-
Thanks a lot.
Kind of Like this?
(Im not really sure how to activate it. )<a class="sitetitle img" href="/tearsheets/" data-type="category" data-id="9" data-catid="" data-title="Michael Englert Fotograf Düsseldorf / Heidelberg">
<img src="http://www.michael-englert.com/wp-content/uploads/2019/06/logo_white.png" alt="Michael Englert Fotograf Düsseldorf / Heidelberg"></a>
-
Dear @michaelenglert
have a look here:
http://laytheme.com/documentation.html#custom-css-stylingbB
Marius -
Dear Marius,
Thanks for the link - that was the one i also referred to in my first post, and helped me change the text format - I just dont know yet how to to change a picture - any hint for me?
Best, Michael -
Dear @michaelenglert
well, you can have two divs.
One called div-1 and one called div-2.They have this code inside but each has a different path to the image.
Then you show and hide them, depending on the site you are one.Hope that helps!
Best!
Marius
Before you post:
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. When using a WordPress Cache plugin, disable it or clear your cache.
Now see if your problem solved itself.
Go here, see if your problem is listed here:
Troubleshooting
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it
I don't answer or check forum DMs, please just post on the forum.