the logo does not change color. All pages have the same code.

5 replies·opened May 30, 2021
M
MaximM777May 30, 2021

On the main page, everything works as it should; on all other pages, the logo is of the same color.
<!-- Logo
============================================= -->
<div id="logo">

attachment


attachment

</div><!-- #logo end -->

M
MaximM777May 30, 2021
<!-- Logo
						============================================= -->
						<div id="logo">
							<a href="https://xn----7sbahkcy7dprk.xn--p1ai" class="standard-logo" data-dark-logo="images/images2/logo.png"><img src="images/images2/logob.png" alt="Таврида Фуд"></a>
							<a href="https://xn----7sbahkcy7dprk.xn--p1ai" class="retina-logo" data-dark-logo="images/images2/logo.png"><img src="images/images2/logob.png" alt="Таврида Фуд"></a>
						</div><!-- #logo end -->
S
SemiColonWebSTAFFMay 30, 2021

Hello,

The Main is using the Canvas Swiper Slider which has the .dark Class added to the Caption. This way the Header detects the .dark Class and changes the Color Scheme of the Header into Dark. Other Pages do not use the Slider but the Page Titles. So to change these Headers into Dark Scheme, simply add the .dark Class manually. That's it.

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

M
MaximM777May 31, 2021

Sorry, but I don't know how to do this. Can you explain this more detail?

S
SemiColonWebSTAFFMay 31, 2021

Hello,

Sure. Simply add the .dark Class to the <header> Tag. Example:

<header id="header" class="full-header transparent-header dark" data-sticky-class="not-dark" data-mobile-sticky="true">

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

M
MaximM777Jun 1, 2021

It worked! Grateful!

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard