Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #931560

    Hello,
    I’m currently using Enfold to copy a website badly developed (I mean impossible for the user to update the content).
    I manage to do it perfectly with Enfold except 1 thing for the moment.
    I’ve searched and tried several methods because the pb is oftenly asked on your forum but none of them works.
    In the header, I’d like to display :
    – the slogan next to the logo
    – the social icons on the right : maybe with a widget area because I already have the html for the icons in the footer First column.
    I give you all the information below.

    Tx a lot guys !
    Marine

    #931668

    Hey newki75,

    Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)

    Best regards,
    Basilis

    #931862

    Basilis, I’ve seen that your support answered the slogan subject several times by adding a code in functions.php. I just would like to know which answer I should apply in the case of the header I’ve chosent.
    Please ;-)
    Tx :-)

    #932410

    Hi,

    Can you show us as post please?
    I might not be able to understand properly.
    Thank you

    Best regards,
    Basilis

    #932653

    Hi,

    I’ve found this : https://kriesi.at/support/topic/adding-slogans-next-to-the-main-logo/ : quite old I guess, I don’t find the line in header.php
    Then I’ve tried the first code of this : https://kriesi.at/documentation/enfold/add-subtext-to-logo-replace-logo-with-site-title/
    But it doesn’t work.

    Then I’ve tried this : https://kriesi.at/support/topic/site-title-and-tagline-beside-the-logo/ but doesn’t work

    add_filter('avf_logo_subtext', 'kriesi_logo_addition');
    function kriesi_logo_addition($sub) {
        $sub .= get_bloginfo();
        return $sub;
    }

    It’s a subject which is supported by your team, so could you help me Basilis?
    Tx a lot,
    Marine

    #932674

    Hi,
    I added this code to the end of your functions.php file in Appearance > Editor:

    add_filter('avf_logo_subtext', 'kriesi_logo_addition');
    function kriesi_logo_addition($sub)
    {
      $sub .= "<span class='logo-title logo-subtitle'>";
      $sub .= get_bloginfo( 'description', 'display' );
      $sub .= "</span>";
      return $sub;
    }

    and this code in the General Styling > Quick CSS field:

    @media only screen and (min-width: 1023px) { 
    #top .logo, #top .logo a {
        overflow: visible;
    }
    
    #top .logo-subtitle {
        color: #82817f !important;
        font-size: 18px !important;
        top: 1px !important;
        left: 250px;
        position: absolute;
       white-space: nowrap;
    }
    }
    @media only screen and (min-width: 744px) and (max-width: 1023px) { 
    #top .logo, #top .logo a {
        overflow: visible;
    }
    
    #top .logo-subtitle {
        color: #82817f !important;
        font-size: 18px !important;
        top: 1px !important;
        left: 150px;
        position: absolute;
       white-space: nowrap;
    }
    }

    and it is now working in tablet and desktop, it will not show in mobile as there is not enough room.
    Please clear your browser cache and check.

    Best regards,
    Mike

    #932898

    So cool you did it by yourself, what a service :-)
    Tx a lot, you can close the case Mike :-)
    Nice day

    #932941

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    and the video tutorials here
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here
    For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Add slogan and social next to logo’ is closed to new replies.