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
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
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
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
Thanks Guys,
That was what I needed.
Russ