Forum Replies Created
-
AuthorPosts
-
Hi Mike
Yes, you can close this. Many thanks for everything.Hi Mike, looks like it worked fine. I added a link in the place where I should add the text, like this:
<div class="push-right"> <a href="https://mysite.se/privacy-policy/">Privacy Policy</a> </div>
Is that ok to do? Will there be any future problems if I do like this? It looks like it works now at least.
Thanks,
RobertHi, it works fine now. You can close this one.
Many thanks for the help!
Hi Mike,
Yes, many thanks! 👍
Hi Ismael,
1. Thanks!
2. That worked but what is the !important doing?
Best regards,
RobertThat helped me, it was too many permissions set! Many thanks! :-)
Do I need the plugin (Envato Market) anymore now or could I remove it?
February 3, 2022 at 2:09 pm in reply to: SVG Divider in the bottom of Woocommerce shop-page? #1338693Thanks, so if I understand everything correctly now it will work perfect without adding the code? I will not miss any functions or other “good to have” things?
Sorry for all these questions, I just want to be 100% sure I don’t miss anything here. Ismael writes: You need to add this code…
February 3, 2022 at 12:12 pm in reply to: SVG Divider in the bottom of Woocommerce shop-page? #1338672Hi Guenni007,
Ok, I understand the good things about it. Thanks!
But what does the code do? Why should I use that?
add_theme_support( 'avia_custom_shop_page' );
I tried just a little without it and things seem to work. What could not work if I don’t use it?
February 3, 2022 at 10:06 am in reply to: SVG Divider in the bottom of Woocommerce shop-page? #1338647Hi Ismael,
Option1 (Want to have this if possible)
With side I mean page or site. Sorry for that.On all pages on my site I use this SVG divider in bottom
But on the “shop page” I can’t add this SVG divider at the bottom
Is it possible to add an SVG divider at the bottom of the standard WooCommerce shop page?
Option 2 (Make my own shop page, my second choice)
What does that code do? Why isn’t it possible to do this without the code?
I have tried to make a “new” page for the shop and just inserted the product grid. All functions seem to work, why do I need the code?Thanks,
RobertHey Ismael,
Thanks for this. I have two questions about this.
1. Where is it best to insert the code?
Enfold child->Theme option->General styling->Quick CSS or
Appearance » Customize » Additional CSS or
somewhere in the child theme?2. How do I change so it doesn’t show capital letters in the product grid? It shows the product text correct (lowercase) in the standard WooCommerce shop page.
Many thanks!
Best regards,
Robert🙂 As usual… amazing support. Many Thanks!
Best regards,
RobertI have added a short link for a form to the popup-test page so the form will be seen there together with the buttons for the popup.
The form that you see there (without clicking the button) is fine and works well. The form that you see after clicking button 3 that is the same form and shortcode does not work with the “margin 0” code. Is there anything with the code for the popup that needs any changes?
I also tried to add the CSS code in the code block but without luck.
Hi Mike,
Thanks! I added the CSS code from you at Appearance » Customize » Additional CSS. That helped on the forms on the page but not on the forms with the popup window. They are still the same. Shouldn’t that CSS “reach” the popup forms also?
Best regards,
RobertHi Mike,
Thanks! I added this in the code block and it seems to work fine 👍. Was it correct to add it in the code block?
I have one more question and that is about my forms and the space between the sub-label and the field you write in. Right now I’m testing WPForm and it looks promising. I asked WPForm about the problem and they were helpful and answered fast “the spacing shouldn’t be that large so it’s likely coming from your theme styling maybe“. They also come up with some help to solve this: “To grab all WPForms labels, you would use this CSS”
div.wpforms-container-full .wpforms-form .wpforms-field-sublabel { margin: 0 !important; }
They told me to add this here; Appearance » Customize » Additional CSS. But this didn’t help me, I still have the same problem.
Could there be anything else that is faulty, something we added here before? I added the same form on a page without the new code block and it didn’t help, still the same big space. See the private content box for the other page (without code block) with the form and still the same problem. It’s the form in the bottom.
Thanks in advance!
Hi Mike,
Thanks for checking in on this.👍
Yes, that works for me also now, not sure what it could be. I did get the same fault the first test I did today after your answer but now it looks like it works, strange…
I can make my form from the wand and I can add more entries and/or captcha for example. But is it possible to change the form after if I want to add or remove something after a while? I can see the code and can maybe figure out some parts but is it possible to edit this without editing the code? Edit like you do in the first step? Or do I need to make a new form with the wand to have my changes done?I have a question on one more part and that is about is the white area around the button, I can’t fill that with color. Please check my test page again, I have added colors in all places to see where/what to change but can’t figure out how to remove the white area around the button. I did change the padding: 20px in the code block to 0 but there was still a small white border around the button.
Thanks!
Hi again,
I did a test to install a form plugin called WPForm and used the shortcode from the plugin instead of the whole code for a “standard form”. But that seems to break something.
With solution from Mike:
Withe same solution but using the shortcode to another form:
I added the shortcode below where it says [wpforms id=”1061″]. The section under that is still as it was before with the “standard code” for a form.
<script type="text/javascript"> jQuery(window).load(function(){ jQuery('.avia-button-wrap.form-popup a.avia-button').addClass('form-popup-link'); jQuery('.form-popup-link').magnificPopup({ type:'inline', midClick: true }); }); </script> <style> .form-popup { position: relative; background: #f8f8f8; padding: 20px; width: auto; max-width: 500px; margin: 20px auto; } </style> <div id="form-popup-one" class="form-popup mfp-hide"> [wpforms id="1061"] </div> <div id="form-popup-two" class="form-popup mfp-hide"> [av_contact title='Form2' button='Submit 2' on_send='' sent='Your message have been sent!' link='manually,http://' captcha='' captcha_theme='light' captcha_size='normal' captcha_score='0.5' email=' (Email address hidden if logged out) ' from_email='' subject='' autoresponder_email=' (Email address hidden if logged out) ' autoresponder_reply_to='' autoresponder_subject='' autorespond='' autorespond_after='' form_align='' color='' heading_tag='' heading_class='' alb_description='' id='' custom_class='' template_class='' aria_label='' av_uid='av-kyvmoki5' sc_version='1.0' admin_preview_bg=''] [av_contact_field label='Namn' type='text' check='is_empty' options='' multi_select='' av_contact_preselect='' element_display='' width='' headline_tag='h3' av_uid='av-7o4nfk' sc_version='1.0'][/av_contact_field] [av_contact_field label='Email' type='text' check='is_email' options='' multi_select='' av_contact_preselect='' element_display='' width='' headline_tag='h3' av_uid='av-6k86gw' sc_version='1.0'][/av_contact_field] [av_contact_field label='Ämne' type='text' check='is_empty' options='' multi_select='' av_contact_preselect='' element_display='' width='' headline_tag='h3' av_uid='av-4fdjpc' sc_version='1.0'][/av_contact_field] [av_contact_field label='Meddelande' type='textarea' check='is_empty' options='' multi_select='' av_contact_preselect='' element_display='' width='' headline_tag='h3' av_uid='av-27sqzk' sc_version='1.0'][/av_contact_field] [/av_contact] </div>
- This reply was modified 2 years, 9 months ago by Brolle.
and yes, I think the same as @mistermagoo8691, this would be a perfect function to add in the next version of Enfold. 👍
Mike,
As I said before, this is fantastic. I’ve never experienced faster and more helpful support before. ⭐
I can see that I never should have been able to do this for myself. But with your help on my page and all the good instructions I feel that I probably will manage to move this to the correct place.
Many thanks!
Best regards,
RobertMike, I have updated the information in the private content box above. I hope this will be all the needed information.
Thanks,
RobertHi Mike,
I am really amazed by your support here. :-)
The trigger would be a button or a link on the page. I want to have a form in the popup. A form created from the Enfolds “form-button”.I will have two different forms to choose between and it is not that nice to have both showing there so I want them to have the choice to click on the one that is for them. It would be really nice to have this form showing up in a popup window and after submitting it could be a short text saying thanks and so on…
I write the rest in the private content box.
Many Thanks,
Robert- This reply was modified 2 years, 10 months ago by Brolle. Reason: Forgot some information
Many thanks! That worked perfectly! :-D
-
AuthorPosts