PHP link homepage logo to home (premade theme from wordpress.org)












0














I have researched and looked into the forums already but none seem to be faced with what I'm dealing with.



I'm trying to link my company's logo to the home page...but when I inspect the logo element it says it's already linked to the home page but the logo isn't clickable.



I've looked into functions and I can't find "business_kit_the_custom_logo"



Below is header.php regarding the logo and site branding.
link to site is: https://curvetrace.testfixtures.com/



 <div class="bottom-header">

<div class="container">

<div class="site-branding">

<?php echo business_kit_the_custom_logo(); ?>

<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>

<?php
$description = get_bloginfo( 'description', 'display' );

if ( $description || is_customize_preview() ) : ?>

<p class="site-description"><?php echo $description; /* WPCS: xss ok. */ ?></p>

<?php
endif; ?>
</div><!-- .site-branding -->









share|improve this question



























    0














    I have researched and looked into the forums already but none seem to be faced with what I'm dealing with.



    I'm trying to link my company's logo to the home page...but when I inspect the logo element it says it's already linked to the home page but the logo isn't clickable.



    I've looked into functions and I can't find "business_kit_the_custom_logo"



    Below is header.php regarding the logo and site branding.
    link to site is: https://curvetrace.testfixtures.com/



     <div class="bottom-header">

    <div class="container">

    <div class="site-branding">

    <?php echo business_kit_the_custom_logo(); ?>

    <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>

    <?php
    $description = get_bloginfo( 'description', 'display' );

    if ( $description || is_customize_preview() ) : ?>

    <p class="site-description"><?php echo $description; /* WPCS: xss ok. */ ?></p>

    <?php
    endif; ?>
    </div><!-- .site-branding -->









    share|improve this question

























      0












      0








      0







      I have researched and looked into the forums already but none seem to be faced with what I'm dealing with.



      I'm trying to link my company's logo to the home page...but when I inspect the logo element it says it's already linked to the home page but the logo isn't clickable.



      I've looked into functions and I can't find "business_kit_the_custom_logo"



      Below is header.php regarding the logo and site branding.
      link to site is: https://curvetrace.testfixtures.com/



       <div class="bottom-header">

      <div class="container">

      <div class="site-branding">

      <?php echo business_kit_the_custom_logo(); ?>

      <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>

      <?php
      $description = get_bloginfo( 'description', 'display' );

      if ( $description || is_customize_preview() ) : ?>

      <p class="site-description"><?php echo $description; /* WPCS: xss ok. */ ?></p>

      <?php
      endif; ?>
      </div><!-- .site-branding -->









      share|improve this question













      I have researched and looked into the forums already but none seem to be faced with what I'm dealing with.



      I'm trying to link my company's logo to the home page...but when I inspect the logo element it says it's already linked to the home page but the logo isn't clickable.



      I've looked into functions and I can't find "business_kit_the_custom_logo"



      Below is header.php regarding the logo and site branding.
      link to site is: https://curvetrace.testfixtures.com/



       <div class="bottom-header">

      <div class="container">

      <div class="site-branding">

      <?php echo business_kit_the_custom_logo(); ?>

      <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>

      <?php
      $description = get_bloginfo( 'description', 'display' );

      if ( $description || is_customize_preview() ) : ?>

      <p class="site-description"><?php echo $description; /* WPCS: xss ok. */ ?></p>

      <?php
      endif; ?>
      </div><!-- .site-branding -->






      php html wordpress






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 20 at 19:23









      Jay Roze

      33




      33
























          2 Answers
          2






          active

          oldest

          votes


















          0














          The paragraph with the class "site-description" is overlapping your logo, so when you click the logo you're actually clicking that paragraph. Hover your mouse over the bottom half of your logo and you can see that it is indeed clickable where the paragraph doesn't overlap it. If you disable the styles for that paragraph your whole logo and the text above that paragraph are clickable. See image.
          enter image description here






          share|improve this answer

















          • 1




            Thanks so much! I didn't see that and disabling it fixed the issue.
            – Jay Roze
            Nov 20 at 20:22



















          0














          The sites .site-description paragraph is overlapping the content:



          enter image description here



          to fix this, change this style:



          .site-description {
          padding-left: 31px;
          font-size: 22px;
          left: 16px;
          margin-left: -18px;
          position: relative;
          top: 0px;
          }


          to this: (Note that I've used a left padding of 114px to re-align the P element).



          .site-description {
          padding-left: 114px;
          font-size: 22px;
          }


          Now, for mobile responsive, I've changed the padding-left to 24px and overridden the default padding using !important and removed again the positioning styles:



          @media screen and (max-width: 551px)
          {
          .site-description {
          padding-left: 24px !important;
          float: left;
          font-size: 20.5px !important;
          font-family: garmond;
          }
          }





          share|improve this answer





















          • Ended up disabling the site-description and using a text-indent to move it over.
            – Jay Roze
            Nov 20 at 20:24











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53400120%2fphp-link-homepage-logo-to-home-premade-theme-from-wordpress-org%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          The paragraph with the class "site-description" is overlapping your logo, so when you click the logo you're actually clicking that paragraph. Hover your mouse over the bottom half of your logo and you can see that it is indeed clickable where the paragraph doesn't overlap it. If you disable the styles for that paragraph your whole logo and the text above that paragraph are clickable. See image.
          enter image description here






          share|improve this answer

















          • 1




            Thanks so much! I didn't see that and disabling it fixed the issue.
            – Jay Roze
            Nov 20 at 20:22
















          0














          The paragraph with the class "site-description" is overlapping your logo, so when you click the logo you're actually clicking that paragraph. Hover your mouse over the bottom half of your logo and you can see that it is indeed clickable where the paragraph doesn't overlap it. If you disable the styles for that paragraph your whole logo and the text above that paragraph are clickable. See image.
          enter image description here






          share|improve this answer

















          • 1




            Thanks so much! I didn't see that and disabling it fixed the issue.
            – Jay Roze
            Nov 20 at 20:22














          0












          0








          0






          The paragraph with the class "site-description" is overlapping your logo, so when you click the logo you're actually clicking that paragraph. Hover your mouse over the bottom half of your logo and you can see that it is indeed clickable where the paragraph doesn't overlap it. If you disable the styles for that paragraph your whole logo and the text above that paragraph are clickable. See image.
          enter image description here






          share|improve this answer












          The paragraph with the class "site-description" is overlapping your logo, so when you click the logo you're actually clicking that paragraph. Hover your mouse over the bottom half of your logo and you can see that it is indeed clickable where the paragraph doesn't overlap it. If you disable the styles for that paragraph your whole logo and the text above that paragraph are clickable. See image.
          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 20 at 19:51









          mediaguru

          596514




          596514








          • 1




            Thanks so much! I didn't see that and disabling it fixed the issue.
            – Jay Roze
            Nov 20 at 20:22














          • 1




            Thanks so much! I didn't see that and disabling it fixed the issue.
            – Jay Roze
            Nov 20 at 20:22








          1




          1




          Thanks so much! I didn't see that and disabling it fixed the issue.
          – Jay Roze
          Nov 20 at 20:22




          Thanks so much! I didn't see that and disabling it fixed the issue.
          – Jay Roze
          Nov 20 at 20:22













          0














          The sites .site-description paragraph is overlapping the content:



          enter image description here



          to fix this, change this style:



          .site-description {
          padding-left: 31px;
          font-size: 22px;
          left: 16px;
          margin-left: -18px;
          position: relative;
          top: 0px;
          }


          to this: (Note that I've used a left padding of 114px to re-align the P element).



          .site-description {
          padding-left: 114px;
          font-size: 22px;
          }


          Now, for mobile responsive, I've changed the padding-left to 24px and overridden the default padding using !important and removed again the positioning styles:



          @media screen and (max-width: 551px)
          {
          .site-description {
          padding-left: 24px !important;
          float: left;
          font-size: 20.5px !important;
          font-family: garmond;
          }
          }





          share|improve this answer





















          • Ended up disabling the site-description and using a text-indent to move it over.
            – Jay Roze
            Nov 20 at 20:24
















          0














          The sites .site-description paragraph is overlapping the content:



          enter image description here



          to fix this, change this style:



          .site-description {
          padding-left: 31px;
          font-size: 22px;
          left: 16px;
          margin-left: -18px;
          position: relative;
          top: 0px;
          }


          to this: (Note that I've used a left padding of 114px to re-align the P element).



          .site-description {
          padding-left: 114px;
          font-size: 22px;
          }


          Now, for mobile responsive, I've changed the padding-left to 24px and overridden the default padding using !important and removed again the positioning styles:



          @media screen and (max-width: 551px)
          {
          .site-description {
          padding-left: 24px !important;
          float: left;
          font-size: 20.5px !important;
          font-family: garmond;
          }
          }





          share|improve this answer





















          • Ended up disabling the site-description and using a text-indent to move it over.
            – Jay Roze
            Nov 20 at 20:24














          0












          0








          0






          The sites .site-description paragraph is overlapping the content:



          enter image description here



          to fix this, change this style:



          .site-description {
          padding-left: 31px;
          font-size: 22px;
          left: 16px;
          margin-left: -18px;
          position: relative;
          top: 0px;
          }


          to this: (Note that I've used a left padding of 114px to re-align the P element).



          .site-description {
          padding-left: 114px;
          font-size: 22px;
          }


          Now, for mobile responsive, I've changed the padding-left to 24px and overridden the default padding using !important and removed again the positioning styles:



          @media screen and (max-width: 551px)
          {
          .site-description {
          padding-left: 24px !important;
          float: left;
          font-size: 20.5px !important;
          font-family: garmond;
          }
          }





          share|improve this answer












          The sites .site-description paragraph is overlapping the content:



          enter image description here



          to fix this, change this style:



          .site-description {
          padding-left: 31px;
          font-size: 22px;
          left: 16px;
          margin-left: -18px;
          position: relative;
          top: 0px;
          }


          to this: (Note that I've used a left padding of 114px to re-align the P element).



          .site-description {
          padding-left: 114px;
          font-size: 22px;
          }


          Now, for mobile responsive, I've changed the padding-left to 24px and overridden the default padding using !important and removed again the positioning styles:



          @media screen and (max-width: 551px)
          {
          .site-description {
          padding-left: 24px !important;
          float: left;
          font-size: 20.5px !important;
          font-family: garmond;
          }
          }






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 20 at 20:08









          Studio KonKon

          407110




          407110












          • Ended up disabling the site-description and using a text-indent to move it over.
            – Jay Roze
            Nov 20 at 20:24


















          • Ended up disabling the site-description and using a text-indent to move it over.
            – Jay Roze
            Nov 20 at 20:24
















          Ended up disabling the site-description and using a text-indent to move it over.
          – Jay Roze
          Nov 20 at 20:24




          Ended up disabling the site-description and using a text-indent to move it over.
          – Jay Roze
          Nov 20 at 20:24


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53400120%2fphp-link-homepage-logo-to-home-premade-theme-from-wordpress-org%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          404 Error Contact Form 7 ajax form submitting

          How to know if a Active Directory user can login interactively

          TypeError: fit_transform() missing 1 required positional argument: 'X'