-
AuthorPosts
-
March 9, 2016 at 5:23 am #595298
Hi there,
I’d like to add a phone number to the right of the logo – not the top bar.
What would be my best option here, I did think about making the header background image the phone number – but that’s not really the most elegant solution I’m sure.
I am using a child theme, so am happy & comfortable doing something in code – I would just like a little advice please.
Thanks,
Jason
March 10, 2016 at 6:13 am #596062Hi Jason,
Please try adding a widget to the header: http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/. We can help you out with styling once you’ve added it.
Thanks,
RikardMarch 10, 2016 at 6:56 am #596081Brilliant, I’m almost there.
I just need to target tablet in landscape (could you give me the media query you guys use)?
Along with that, I need to use the mobile menu on tablet – portrait & landscape, which I’m guessing you get asked about quite often.
Any chance you could point me in the direction of that info?
Then I’ll be sorted – thanks so much for your help with this.
JasMarch 10, 2016 at 6:59 am #596085Actually – I’ve found it: http://kriesi.at/documentation/enfold/switching-to-mobile-menu-on-higher-resolutions/
Thanks again!March 10, 2016 at 7:05 am #596087Oh, sorry – one last thing, I need to increase the height of the header on mobile – in order for the phone number to sit below the logo.
March 11, 2016 at 6:31 am #596704Hi,
Please try something like this in Quick CSS under Enfold–>General Styling:
@media only screen and (max-width: 767px) { .av-logo-container { height: 110px !important; line-height: 110px !important; } }
You might have to adjust the values a bit to fit your needs.
Thanks,
RikardMarch 14, 2016 at 12:35 am #597451Thanks Rikard – all sorted now,
JasonMarch 15, 2016 at 8:10 am #598228December 15, 2017 at 5:37 pm #889341Hello,
When I add this code to the functions.php file in Enfold Child, I am getting the following error message:-
Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.
Could someone please help?
Thank you
December 16, 2017 at 10:07 am #889509Hi sdpmedialtd,
Did you try to add the code using a text editor and uploading it using FTP?
Best regards,
RikardDecember 18, 2017 at 3:07 pm #890031Hello,
Yes, this worked thank you.
Although, I am having problem on mobile with the text overlapping the logo despite adding the CSS above?
December 18, 2017 at 3:12 pm #890033Hi!
@sdpmedialtd You may need a custom CSS tailored for your site. Please start a new thread under Enfold sub forum and attach a link to your website.
Since this is an old solved thread, we are closing this one :)Cheers!
Yigit -
AuthorPosts
- The topic ‘Add phone number to the right of the logo’ is closed to new replies.