WordPress.org

Ready to get started?Download WordPress

Forums

Mantra
[resolved] Logo clickable (12 posts)

  1. Newki75
    Member
    Posted 1 year ago #

    Hello,

    My logo is not clickable. So I've tried to put it in header with the function "Cliakble header" but it doesn't work better. Can anyone help me ?
    Best regards and thanks in advance

  2. Newki75
    Member
    Posted 1 year ago #

    Nobody to help me? I'm surely not the only one where the logo leads to the root.

  3. wp-21
    Member
    Posted 1 year ago #

    Pls post link to your site...

  4. GerritN
    Member
    Posted 1 year ago #

    Hi there Newki75,

    you need to go to your index.template file.

    There you have to find <div id="logo"/> and replace that with

    `<div id="logo">
    <a href="'.$scripturl.'" title=""></a>
    </div>`

    Then open index.css and find #logo {
    and replace that with
    #logo a {

    Kind regards

  5. wp-21
    Member
    Posted 1 year ago #

    And do create child theme first and do all the changes in that only....cheers..:).

  6. Newki75
    Member
    Posted 1 year ago #

    Thanks ! Could you precise me wich php file is concerned for the first part, I'm a bit lost...

  7. GerritN
    Member
    Posted 1 year ago #

    You have to open up your editor and look for the index.template file and there you have to search for the logo code :) And yes do create a child theme first before you make any changes please.

  8. Newki75
    Member
    Posted 1 year ago #

    Sorry, me again ;-) In my Editor, I have those files, and it's not in index.php (I don't have index.template). Thanks for your help :-)

    Modèle pour l’erreur 404
        (404.php)
        admin-functions.php
        custom-styles.php
        defaults.php
        main.php
        sanitize.php
        settings.php
        Archives
        (archive.php)
        Modèle pour les fichiers attachés
        (attachment.php)
        Modèle pour un auteur
        (author.php)
        Modèle pour les catégories
        (category.php)
        Commentaires
        (comments.php)
        content-aside.php
        content-chat.php
        content-gallery.php
        content-image.php
        content-link.php
        content-page.php
        content-quote.php
        content-status.php
        content.php
        Pied de page
        (footer.php)
        Fonctions du thème
        (functions.php)
        En-tête
        (header.php)
        theme-comments.php
        theme-frontpage.php
        theme-functions.php
        theme-hooks.php
        theme-loop.php
        theme-seo.php
        theme-setup.php
        theme-shortcodes.php
        theme-styles.php
        Modèle pour la page d’accueil
        (index.php)
        Modèle de page
        (page.php)
        Résultats de recherche
        (search.php)
        Formulaire de recherche
        (searchform.php)
        sidebar-footer.php
        Colonne latérale
        (sidebar.php)
        Article seul
        (single.php)
        Modèle pour un mot-clef
        (tag.php)
        Modèle de page Blog Template ( Posts Page)
        (template-blog.php)
        Modèle de page One column, no sidebar
        (template-onecolumn.php)
        Modèle de page Category page with intro
        (template-page-with-intro.php)
        Modèle de page Three columns, Sidebars Left and Right
        (template-threecolumns-center.php)
        Modèle de page Three Columns, Sidebars on the Left
        (template-threecolumns-left.php)
        Modèle de page Three columns, Sidebars on the Right
        (template-threecolumns-right.php)
        Modèle de page Two columns, Sidebar on the Left
        (template-twocolumns-left.php)
        Modèle de page Two Columns, Sidebar on the Right
        (template-twocolumns-right.php)
  9. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    You should not modify theme files ever as your changes will be lost when the theme is updated - instead you need to use a Child Theme - see:

    http://codex.wordpress.org/Child_Themes

  10. GerritN
    Member
    Posted 1 year ago #

    You should download Firebug. It is a wonderful tool to find the code you need fast and effectively :) If you are using Firefox you can download it as an add-on. Download it and let me help you further then :)

  11. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    @Newki75 - please post a link to your site.

  12. Newki75
    Member
    Posted 1 year ago #

    It didn't work on localhost but it works in production :-)
    Thanks guys

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.