Hey! I am new to XStore Theme, WordPress and HTML in general. So maybe it’s actually a very simple problem. 🙂
I just put some HTML code in the “customize empty content” part when your product comparision is empty. For this, I want my brand’s colors, font and a button. But when I put the HTML code in there, then this code not only executes in the “empty content” part (where it works how I want it to work), but overrides the whole website and changes other links into buttons (see screenshot). So my question is, how do I execute the HTML code just for the “customize empty content” part without impairing the whole site? Is there something I am missing? Since it is a specific text field for “customize empty content” it should only apply there, no?
Thanks a lot for your help! 🙂
Cheers
Patrick
For completion here the HTML code (with spaces so it doesnt execute):
< !DOCTYPE html>
< html>
< head>
< link href='https://fonts.googleapis.com/css?family=Merriweather' rel='stylesheet'>
< style>
a:link, a:visited {
background-color: #4d4d4d;
color: white;
padding: 14px 25px;
text-align: center;
text-decoration: none;
display: inline-block;
font-family: ‘Merriweather’;
border-radius: 12px;
}
a:hover, a:active {
background-color: #4d4d4d;
color: #c3ac92;
}
< /style>
< /head>
< body>
< p style="font-family:'Merriweather'">Hier ist noch nichts zum Vergleichen. ?
< br>< br>
< a href="https://sonnenbrecher.ch/c/sonnenbrillen" target="_self" rel="noopener">Zu den Sonnenbrillen< /a>
< /body>
< /html>