• Resolved KevEd

    (@keved)


    Hi, I’m trying to make the WP-site’s logo link to the (non-WP) site at the domain root.
    e.g: the site is at mydomain.co.uk/delivery I’d like its logo to point to mydomain.co.uk/

    The plugin isn’t working with the Composer Theme (from ThemeForest), but I can create a Child theme and add the necessary PHP code into it (or amend the plugin’s PHP) to fix it.

    Can you let me know what lines would need editing please?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Niels Lange

    (@nielslange)

    Hello @keved,

    Thanks for reaching out. I see that your current theme is using a logo. If you wrap the add the CSS class custom-logo-link to the logo, my plugin will replace the logo link with a custom link. In case you want to use a site title later, then please add the CSS class site-title to the title. This is how the elements should look like in your child-theme:

    
    <a href="..." class="custom-logo-link">
      <img src="..." alt="...">
    </a>
    

    and

    
    <div class="site-title">
      <a href="..." target="...">...</a>
    </div>
    

    Please note that the code snippets above only demonstrate the use of the CSS classes. Of course, you can keep all existing attributes within these elements. I hope this helps to get your child-theme compatible to my plugin. If not, then please let me know. ??

    Plugin Author Niels Lange

    (@nielslange)

    Hello @keved ??

    I haven’t received a reply from you so far, thus, I assume that everything worked as expected. I’m marking this issue as solved now.

    Thread Starter KevEd

    (@keved)

    Hi Neils,

    thank you for the 5-star support. I was distracted on other projects, but will try the css wrap now.

    Plugin Author Niels Lange

    (@nielslange)

    Sounds good, @keved. Let me know if it works as expected. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Is the PHP code available to add to my theme?’ is closed to new replies.