-
AuthorPosts
-
March 22, 2018 at 6:53 pm #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 !
MarineMarch 22, 2018 at 9:35 pm #931668Hey 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,
BasilisMarch 23, 2018 at 10:06 am #931862Basilis, 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 :-)March 24, 2018 at 5:54 pm #932410Hi,
Can you show us as post please?
I might not be able to understand properly.
Thank youBest regards,
BasilisMarch 25, 2018 at 6:04 pm #932653Hi,
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,
MarineMarch 25, 2018 at 8:05 pm #932674Hi,
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,
MikeMarch 26, 2018 at 9:49 am #932898So cool you did it by yourself, what a service :-)
Tx a lot, you can close the case Mike :-)
Nice dayMarch 26, 2018 at 11:05 am #932941Hi,
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 -
AuthorPosts
- The topic ‘Add slogan and social next to logo’ is closed to new replies.