-
AuthorPosts
-
July 16, 2018 at 7:57 pm #986076
I tried following instructions here but I cannot understand the way Victoria suggested to insert an html widget into the socket. Via Shortcode a widget area?
I solved my problem inserting 2 div, the first with copyright aligned to the left and the 2nd with the tag img src=. You can see here
But I’m interested to discover Victoria’s solution.July 17, 2018 at 11:56 am #986371Hey Nicola,
Where did you put your divs? In the files directly? Can you explain a bit more if you want my input?
Anyways, glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
VictoriaJuly 17, 2018 at 12:03 pm #986378I put the div into the Copyright area of Footer panel (Enfold child theme).
This code:
<div align="left">Wedding Planners in Tuscany by Luccaorganizza Viale Agostino Marti, 415 - 55100, Lucca. Email: <a href="mailto: (Email address hidden if logged out) "> (Email address hidden if logged out) </a> <br />Phone +39 0583 952440 Mobile +39 328 2930862 - P.IVA 01616520464.</div><div class="rmw" align="right"><img src="https://www.weddingplannersintuscany.com/wp-content/uploads/2018/07/rmw-thelist-official-supplier.png" height="120" width="120"></div>
Then I create a CSS class “rmw” in quick css to assign margin top negative.
What I need was was your suggestion to add an image in the Socket area with a widget. Can you explain me more?
- This reply was modified 6 years, 5 months ago by niguli.
July 17, 2018 at 12:16 pm #986388by the way – you can style a text-block as you like it and insert that shortcode to that copyright input field like:
[av_textblock]<img class="alignright size-full" src="https://www.weddingplannersintuscany.com/wp-content/uploads/2018/07/rmw-thelist-official-supplier.png" width="120" height="120" />Wedding Planners in Tuscany by Luccaorganizza Viale Agostino Marti, 415 - 55100, Lucca. Email: (Email address hidden if logged out) Phone +39 0583 952440 • Mobile +39 328 2930862 • P.IVA 01616520464.[/av_textblock]
July 17, 2018 at 12:20 pm #986391Hi Guenni007, I did this way yesterday: I created a shorcode for a widget area (instead of a textblock) and added it to the copywright input field, but i did not show anything …. don’t know why….
July 17, 2018 at 1:04 pm #986404did you try that code above by copy / paste ?
the advantage is that the image floats to the text.
July 17, 2018 at 3:02 pm #986457it worked, thank you very much for your help.
Probably I had wp super cached the website and could not see any modifications.I’m still interested in Victoria’s solution.
July 18, 2018 at 12:20 pm #986920Hi niguli,
Widgets will not go in that area, so another solution is editing the files. So great that it is working for you that simple :)
Best regards,
VictoriaJuly 22, 2018 at 12:34 am #988251editing the files means having a child-theme footer.php and maybe insert your own hook
f.e. after the <?php on line 162 of footer.php
do_action( 'ava_in_socket' );
July 22, 2018 at 7:12 am #988287 -
AuthorPosts
- You must be logged in to reply to this topic.