
-
AuthorPosts
-
September 11, 2019 at 1:57 pm #1137039
Hi
I know support doesnt work with who needs customization, but I’m a good programmer and I can edit php by myself.
I just need an advice about the file I need to edit to add this.
I need to put a static image with switzerland flag as the screenshot, without any links (actually the flag in a part of the logo).
Can you please tell me what php page I need to edit?
Thank youSCREENSHOT: http://intergesso.ch/website.JPG
September 12, 2019 at 3:58 pm #1137569Hey LorenzoC1991,
Your site is still in maintenance mode, can you give us access? so we can atleast inspect the header of your page? since that image isn’t part of Enfold, maybe it’s from a plugin.
Best regards,
NikkoSeptember 13, 2019 at 10:15 pm #1138211Sure! Sorry I forgot :(
-
This reply was modified 5 years, 10 months ago by
Nikko.
September 13, 2019 at 10:16 pm #1138212And no, it’s default enfold imported demo header :D
September 14, 2019 at 2:58 pm #1138321Hi LorenzoC1991,
Thanks, but I don’t see the flag when I checked: https://imgur.com/dbhUKA6
However to add it, you can use a hook/action and put it in functions.php of your child theme (just tweak the code):add_action('ava_inside_main_menu', 'add_flag', 99); function add_flag() { echo '<div class="flag"><img src="https://mywebsite.com/wp-content/uploads/2019/9/flag.png" alt="flag" /></div>'; }
then in Quick CSS, located in Enfold > General Styling, add this css code:
.flag { float: right; height: 30px; position: relative; top: 50%; margin-top: -16px; }
Hope it helps :)
Best regards,
NikkoSeptember 17, 2019 at 5:08 am #1139004Sorry but my customer asked to change the logo and I didnt applyed the flag
Can you please check now and tell me if I made it correct?
I’m afraid that on others resolutions the flag will move! (actually I’m on 32″ 1920x1080px monitor)
Thank you
September 17, 2019 at 5:15 am #1139005Ok I putted more CSS so on mobile flag will disappear :)
really thx for all your support ^^
September 18, 2019 at 4:42 am #1139319Hi LorenzoC1991,
I see the flag now after the social icon. :)
We’re glad that we could help.
Thanks for using Enfold and have a great day!Best regards,
Nikko -
This reply was modified 5 years, 10 months ago by
-
AuthorPosts
- The topic ‘Custom Social Image and link on top’ is closed to new replies.