Content of my pages disappear when I change site title from image to text...
-
Hello !
I have tried to add a custom image to my site title in order to change it when hover it.
But when I change site title from image to text in Customize section, all the content of my pages disappear !Here is a link to the website:
http://www.jardinc.org/ -
Dear @arno_aubry
that is strange.
Do you use the latest version of Laytheme and Wordpress?
Any plugins or CUSTOM CODE?Best!
Marius
-
Hello Marius,
I have added the logo myself with custom code because I wanted to change it on hover
.sitetitle.img {
background: url("http://www.jardinc.org/wp-content/uploads/2019/08/logo_jardinc-01.svg") no-repeat;
display:inline-block;
width:153px;
height:42px;
}.sitetitle.img:hover {
background:url("http://www.jardinc.org/wp-content/uploads/2019/08/logo_jardinc_hover-02.svg")no-repeat;
width:153px;
height:42px;}
-
Dear @arno_aubry
the trick is to isolate problems.
Can you get rid of the code and see if the problem remains. Then put it back step by step.
Then you will see what breaks the page.Best!
Marius
-
Thank's again Marius,
I have used this line, that was the problem, I think it is the jQuery library:
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>So sorry, I know it is written on Lay website,
Have a good day,
-
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it