-
AuthorPosts
-
February 9, 2019 at 11:48 pm #1065029
Hello!
First of all, thanks a lot for an amazing theme and lots of additional content to be found on the forum.
Anyway, while customizing my website I have fallen into a following problem.
I was trying to center the content of the Header Phone Number/Extra Info by using a following quick style:div.phone-info { width: 100%; text-align: center; margin-top: -30px; }
It did not centered the info but instead the logo had suddenly moved to the right, overlapping over menu items.
I tried deleting the code, restoring theme settings backup, reflushing cache but nothing has worked unfortunately. – the logo is stucked.
The link to the website is in the private content.The code inside Header Phone Number/Extra Info is as follows:
[av_font_icon icon='ue842' font='entypo-fontello' style='' caption='' link='' linktarget='' size='20px' position='left' color=''][/av_font_icon] <span class="custom-header-meta">XXX</span> [av_font_icon icon='ue805' font='entypo-fontello' style='' caption='' link='' linktarget='' size='20px' position='left' color=''][/av_font_icon] <span class="custom-header-meta">YYY</span> [av_font_icon icon='ue854' font='entypo-fontello' style='' caption='' link='' linktarget='' size='20px' position='left' color=''][/av_font_icon] <span class="custom-header-meta">ZZZ</span>
I would be gratefull for any help!
Kind regards,
AdamFebruary 10, 2019 at 11:35 am #1065087i would do it with this code in telephone extra input field:
<a href="https://link-to-map"><span class="map">XXX</span></a><a href="https://link-to-contact"><span class="contact">YYY</span></a><a href="tel:+492289768293"><span class="tel">ZZZ</span></a>
And this would be my quick css entry for it:
.phone-info { float: left !important; position: relative; left: 50%; transform: translateX(-50%); } .responsive #header_meta .phone-info span { color: #aaa; margin-left: 15px; } .phone-info span::before { font-family: entypo-fontello; font-size: 24px; padding-right: 5px; position: relative; top: 4px; } .map::before { content: "\e842"} .contact::before { content: "\e805"} .tel::before { content: "\e854"}
you need to adjust that to your needs.
F.e. if you like to colorize the icons:
replace the part above with:.map::before { content: "\e842"; color: #900} .contact::before { content: "\e805"; color: #090} .tel::before { content: "\e854"; color: #009}
see here example: https://webers-testseite.de/
- This reply was modified 5 years, 9 months ago by Guenni007.
February 10, 2019 at 11:56 am #1065090For the logo move we should see a live link to your page. Could be everything
February 10, 2019 at 12:17 pm #1065094Hey Guenni007!
Thanks for the info.
For some reason after applying the Quick Css, the info is stil not formating.The website adress is https://resort.czterywiatry.pl
As you can see the logo is fixed to right and at the same time social icons have moved to the left.
It looks like if for some reason Enfold switched to “boxed” version” for header only.Cheers!
Adam- This reply was modified 5 years, 9 months ago by Acquarius26.
February 10, 2019 at 2:21 pm #1065110The solution turned out to be reseting all theme settings and applying them again one by one (without the backup).
Thanks Guenni007 – now your code is working.
February 10, 2019 at 10:02 pm #1065217Yes but the links are not working – you don’t like the links to be set?
by the way: if you like to have more distance between the spans in responsive case add line-height attribut:.responsive #header_meta .phone-info span { color: #fff; margin-left: 15px; line-height: 25px; }
February 11, 2019 at 12:41 am #1065235Yes, I removed them purposely for the time being.
Wow, thanks a lot for the extra info! It will come handy for sure :)February 11, 2019 at 6:06 am #1065292Hi Adam,
Thanks for the update, did you get everything working? Thanks @guenni007 for helping out :-)
Best regards,
RikardFebruary 11, 2019 at 8:54 am #1065350Yes – and again – your search is white color for responsive case – but then header isn*t transparent so- maybe it is better to have your default color then:
(maybe it is necessary to put it in media query for the small screen option)#menu-item-search { color: #109bc5; }
February 11, 2019 at 12:18 pm #1065396@Guenni007 – thanks for pointing it out, I was not aware that the search icon was “hidden” there. You are really an amazing contributor for this community ;)
@Rikard – yes, everything is back to order. I still don’t know what the initial issue was, but resetting the theme has done the work.February 11, 2019 at 8:53 pm #1065659Hi Acquarius26,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.