-
-
Hello its there a change to add link to external website when you click on logo in header?
-
Hello,
You can not do that by default. To change the logo link, go to file: includes/codeless_builder/header-elements/cl_header_logo.php
and find this line:$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>"; }
Change the link here.
Best regards!
-
Hi witch section i must change? please show me the example because if i copy my url to ( – ) its not working
-
Hello,
Editing the code requires some minimal php knowledge. If you are not very familiar with coding, i strongly suggest you do not alter theme code or let someone professional do the changes for you.
In this line you should edit this part:
href='".esc_url(home_url('/'))."'
to example, this:href='www.google.com'
Best regards!
-
No thats not working. i did this exactly like you said.
-
-
You must be logged in to reply to this topic.