-
-
Hello, I need to know how I can change the link of the header logo.
Thank you in advance for your help.
-
Hello,
The header logo pulls out the site’s link by default. To change it, just go to your WordPress Settings > General > Site Address (URL), change the site’s address here.
Best regards!
-
Hello,
Thanks for your reply,
I don’t want to change the site address (URL), I just need to change the logo link, it has to link to another site. Is possible?
Thanks,
Xisca.
-
Hello,
In this case you need to make the change directly into theme files. Go to file includes\codeless_builder\header-elements\cl_header_logo.php and find this line:
elseif(codeless_get_mod('logo_type') == 'font') { $logo = codeless_get_mod('logo_font_text', get_bloginfo('name')); $logo = "<a href='".esc_url(home_url('/'))."' class=\"logo_font cl-responsive_color_".esc_attr( codeless_get_mod( 'logo_font_responsive_color', 'dark' ) )."\">".$logo."</a>";
Edit this part:
<a href='".esc_url(home_url('/'))."'
to this:<a href='https://www.site.com'
where “https://www.site.com” is the custom link you want to have for the logo.Let us know.
Best regards!
-
-
You must be logged in to reply to this topic.