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,
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login