Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #356017

    This request if for Moderator Josue

    Josue,
    A few days ago you did some modification coding for two lines of text that replaced the Enfold Logo on the Landing Page. The Coding lets the two lines of Text collapse/Wrap as the Browser window gets smaller, Can you tell me where you placed the code to accomplish this task?

    Thanks,

    Russ

    #356562

    Hi Renvato2!

    Thank you for using Enfold.

    You can probably find the code on functions.php:

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

    Regards,
    Ismael

    #356953
    This reply has been marked as private.
    #357373

    Hi Russ!

    I guess you are referring to CSS code that makes the logo collapse, look for this code in the child theme style.css (enfold-child/style.css):

    .logo img { display: none !important; }
    .logo {
        width: 30%;
        top: 15px;
    }
    
    .logo, .logo a {
        overflow: visible;
        height: auto !important;
    
    }
    .subtext > div {
       line-height: 10px;
    }
    
    .subtext .second-line{
        font-size: 16px;
        padding-left: 30px ;
        font-family: 'Quattrocento', serif;
        color: green;
    }

    Best regards,
    Josue

    #357382

    Hey!

    Maybe, you’re looking for the logo width:

    .logo {
    width: 30%;
    }

    Use css media queries to adjust the logo width on smaller screens. I’ll ask Josue to check the thread.

    Cheers!
    Ismael

    #358087

    Thanks Guys,

    That was what I needed.

    Russ

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Request is for Moderator Josue’ is closed to new replies.