Forum Replies Created

Viewing 30 posts - 18,751 through 18,780 (of 35,255 total)
  • Author
    Posts
  • in reply to: change standard h2 heading at post to h4 #1170489

    Hi,
    While working with you on your other thread I was also working on this one, so to add a custom ID to the blog element in the 1/4 column on your homepage I enabled the developer ID field on your elements at Enfold Theme Options > Layout Builder > Builder Options For Developers > ID attribute input field
    2020-01-05-115318
    then in the blog element on your homepage I added the ID “sidebar_blog” so it could be targeted without effecting other elements elsewhere:
    2020-01-05-102035
    now if you add this code to the end of your functions.php file in Appearance > Editor the heading will be changed:

    function custom_sidebar_blog_script(){
      ?>
      <script>
    (function($) {
      $(document).ready(function(){
        function replaceElementTag(targetSelector, newTagString) {
          $(targetSelector).each(function(){
            var newElem = $(newTagString, {html: $(this).html()});
            $.each(this.attributes, function() {
              newElem.attr(this.name, this.value);
            });
            $(this).replaceWith(newElem);
          });
        }
        replaceElementTag('#sidebar_blog .post-title.entry-title ', '<h4></h4>');
      });
    }(jQuery)); 
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_sidebar_blog_script');

    Please note that the heading is H4 in the script but you can change it to whatever you want, I choose H4 because you had manually changed the php file to H5 and I wanted it to show a difference.

    Now going forward any blog element that you add the ID “sidebar_blog” to will be changed.

    Best regards,
    Mike

    in reply to: remove h3 heading from cookie display message #1170483

    Hi,
    Thanks, but I’m seeing “span” now
    2020-01-05-114216

    Best regards,
    Mike

    in reply to: remove h3 heading from cookie display message #1170481

    Hi,
    Actually your issue seems to be your Total Cache minify setting, when it is on you get the gagTracker is not defined error and your homepage slider doesn’t show.
    2020-01-05-112401
    But when the minify is off you get the jQuery is not defined error because your Enfold Theme Options > Performance > Load jQuery into your footer setting is on:
    2020-01-05-112724
    So first you need to have the “Load jQuery into your footer” off and you need to disable your Total Cache minify.

    Best regards,
    Mike

    in reply to: A couple of questions about demos installation #1170474

    Hi,
    Please try going to Enfold Theme Options > General Styling > Content | Sidebar Ratio and change the width of the sidebar to suit.
    2020-01-05-103749

    Best regards,
    Mike

    in reply to: remove h3 heading from cookie display message #1170473

    Hi,
    Your javascript error has returned, please check.
    When I last check the error was resolved and the h3 tag had been changed to a span, as in my screenshot.

    Best regards,
    Mike

    in reply to: remove h3 heading from cookie display message #1170469

    Hi,
    Thanks for correcting the javascript error, now the script is working correctly, I didn’t need to login or make changes, please clear your browser cache and search your source code for Cookie- und Datenschutzeinstellungen there you will see the H3 is now a span:
    2020-01-05-100504
    that was the one we are working on correct?

    Best regards,
    Mike

    in reply to: Cookie Message Box / Message below contact form #1170468

    Hi,
    Glad we could help, I used the shortcode from the test page to repair your homepage and then deleted the test page and disabled the debugger. Then reviewing your original css question I checked your Quick CSS and found a missing bracket and corrected, along with replacing your “font-color” with the correct “color” in the css.

    Please check the home page and the css solutions that were addressed earlier and let us know if there is anything else we can assist with.

    Best regards,
    Mike

    in reply to: A couple of questions about demos installation #1170465

    Hi,
    To add a screenshot please try using https://postimages.org/ and pasting the image URL in your post.
    Sorry, our contact form doesn’t have an upload option, please try using the contact form 7 plugin.

    Best regards,
    Mike

    in reply to: how to stretch image under color section #1170463

    Hi,
    Today I’m able to see all three language pages, you must have made a change to the settings?

    Best regards,
    Mike

    in reply to: Burger menu/layer menu showing when going back #1170462

    Hi,
    Thank you for the update and thanks for using Enfold.

    Best regards,
    Mike

    in reply to: remove h3 heading from cookie display message #1170460

    Hi,
    Today you are getting a couple of javascript errors for your gtag script in your cache/minify plugin,
    so there is either an error in the gtag script or multiple minifying broke it, or a quote was changed into a curly quote from the code I posted above when you pasted it into your functions.php
    Please include an admin login in the Private Content area so we can examine.

    Best regards,
    Mike

    in reply to: Set icon for the label in a form #1170454

    Hi,
    To add your page ID to the css you would add it to the beginning of the rule like this:
    .page-id-206 label[for="avia_1_1"]:before {
    but if you are not using the labels and want the icon before the fields we will use this css instead:

    p#element_avia_1_1:before {
      content: "\e864";
      font-family: entypo-fontello;
      color: #3ec607;
      font-size: 18px;
      padding-right: 6px;
    }
    #top .avia_ajax_form .text_input {
        width: 90% !important; 
    }

    2020-01-05-085516
    but you will still need to find the ID of each field to target.
    If you need further help with this please link to the form on your site so we can be of more assistance.

    Best regards,
    Mike

    in reply to: Enfold and WPML Language mix since WPML 4.3.5 #1170450

    Hi,
    Thank you for the feedback, Please include an admin login in the Private Content area and I will ask the team for someone with more WPML experience to take a look.
    I assume it may help to also include the url of the strings that are not translating so they can check and test quickly, such as your example above, is it in the shopping cart or on the check out page?
    Thank you for your patience.

    Best regards,
    Mike

    in reply to: Cookie Message Box / Message below contact form #1170446

    Hi,
    Thanks for the login, I used the Avia Layout Builder Debugger to examine your homepage shortcode and I believe that someone may have opened or edited the homepage with the “WordPress Block Editor” instead of the Advanced Layout Builder which it was built with, and then the block editor added some paragraph and line brakes in the shortcode which broke the layout.
    So I copied your homepage to a test page, please see the link in the Private Content area.
    I then tried to manually correct the shortcode, please check the test page to see if it is correct, if it is I will move it to your homepage for you.

    I also had to temporarily disable your caching plugin to resolve a different error, after we fix your homepage I will enable your caching again and expect everything to work correctly.

    Best regards,
    Mike

    Hi,
    Thanks for the link, so you would like this menu to show on every page but only for mobile?
    When you tried the function above how was it “broken”?
    Please include an admin login in the Private Content area so we can test the function and shortcode.

    Best regards,
    Mike

    in reply to: Error showing #1170379

    Hi,
    Thanks for the login, typically the solution for this is to delete the fonts in the Iconfont Manager, but as you pointed out “Font: 0” returns on each page reload which is strange. Please try upgrading your PHP version to 7.2 or 7.3 and then try deleting it again. I don’t see a caching plugin on your site, is your web server caching? If so please try clearing it.

    Best regards,
    Mike

    in reply to: remove h3 heading from cookie display message #1170375

    Hey megamazl,
    Try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_consent_tag_script(){
      ?>
      <script>
    (function($) {
      $(document).ready(function(){
        function replaceElementTag(targetSelector, newTagString) {
          $(targetSelector).each(function(){
            var newElem = $(newTagString, {html: $(this).html()});
            $.each(this.attributes, function() {
              newElem.attr(this.name, this.value);
            });
            $(this).replaceWith(newElem);
          });
        }
        replaceElementTag('#av-consent-extra-info h3.av-special-heading-tag', '<span></span>');
      });
    }(jQuery)); 
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_consent_tag_script');

    and add this code in the General Styling > Quick CSS field:

    #av-consent-extra-info span.av-special-heading-tag {
    	font-size: 20px;
    	font-weight: 300;
    }

    Then clear your browser cache and any cache plugin, and check.

    Best regards,
    Mike

    in reply to: Cookie Message Box / Message below contact form #1170369

    Hi,
    Thanks for the ftp access, I have updated your theme.
    If you would like me to look at your other error of html code showing on your page I will also need an WordPress admin login.
    Do you know when this started?

    Best regards,
    Mike

    in reply to: Enfold and WPML Language mix since WPML 4.3.5 #1170367

    Hi,
    On this post It looks like the WPML team got this error on their page:

    This element was disabled in your theme settings. You can activate it here: Performance Settings

    To correct they need to go to Enfold Theme Options > Performance > Disabling of template builder elements and choose “always load all elements”
    2020-01-04-145843
    I hope that helps them to recreate your issue to solve, I’m not a WPML expert. Is the “From” the only word not translating?
    2020-01-04-150526
    I may be able to fix that with a script, or I can ask for help from someone on our team with more WPML experience.

    Best regards,
    Mike

    in reply to: Twenty20 arrows #1170365

    Hi,
    Shall we close this thread then?

    Best regards,
    Mike

    in reply to: how to stretch image under color section #1170364

    Hi,
    I see on the page in the Private Content area you have an image element inside of a color section element, this typically will have margin or padding and not stretch full width, please try removing the image element and use the image as a background for the color section.
    But I am not able to view this page on the frontend, I am always directed to /en/ even when I click the Italian language flag and so for mobile, I only see the screenshot I posted above and not the same as the backend?

    Best regards,
    Mike

    in reply to: how to stretch image under color section #1170356

    Hey Matsky1,
    Thanks for the login, when I look at your page the color section background image is different than your screenshot, but it is full width, Please see the screenshot in Private Content area.
    Did you sort this out, or did I misunderstand something?

    Best regards,
    Mike

    in reply to: Error when updating theme #1170348

    Hi,
    Were you able to update? Shall we close this then?

    Best regards,
    Mike

    Hi,
    Glad to hear you were able to sort this out, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)

    Best regards,
    Mike

    in reply to: Set icon for the label in a form #1170342

    Hey Alexander,
    You can do this with css in your Quick CSS like this:

    label[for="avia_1_1"]:before {
      content: "\e864";
      font-family: entypo-fontello;
      color: #3ec607;
      font-size: 18px;
      padding-right: 6px;
    }

    2020-01-04-132056
    the only trick is that you will have to examine the form html to determine the code for each label, and you should preced the css with the page ID so the icon doesn’t show on every contact form on your site.

    If you need further help with this please link to the form on your site so we can be of more assistance.

    Best regards,
    Mike

    in reply to: Set a link in a widget title? #1170334

    Hi,
    You won’t be able to add a link in the actual widget title, but if you use a “HTML Widget” and leave the “title” field empty you can fake a widget title by using H3 tags and a link like this:

    <a href="/about"><h3>widget title</h3></a>

    2020-01-04-130525
    That way it will look like a widget title and have a link.

    Best regards,
    Mike

    Hey Jak73,
    Thanks for the link, the best approach would be to add a custom ID to the color section in the developer tab, perhaps like “bottom-section” and then use this css:

    #bottom-section .entry-content-wrapper div li {
        color: #fff !important; 
    }
    

    otherwise, you can use this css right now:

    #av_section_1.avia-builder-el-6 .entry-content-wrapper div li {
    color: #fff !important;
    }
    

    Best regards,
    Mike

    in reply to: Seo friendly table of contens plugin for enfold #1170321

    Hey Jak73,
    Sorry I have not seen any posts on table of content plugins for Enfold, but here is a list of ones you can try.
    Alternatively, you can create your own with this article which gives you the html and css you can use in a code block element.

    Best regards,
    Mike

    in reply to: Twenty20 arrows #1170316

    Hey Carsten,
    Thanks for the link, these two plugins are using the same classes and css, I would guess that one plugin took the code from the other.
    Anyways, there seems to be an issue with their css, I recommend contacting the plugin author for updated css to correct this, as we don’t support 3rd party plugins.

    Best regards,
    Mike

    in reply to: change standard h2 heading at post to h4 #1170308

    Hi,
    It looks like you are using a blog element inside of a 1/4 column to simulate a sidebar on your homepage, is this correct?
    I imagine you don’t want the blog element to show the post titles as h5 everywhere it might be used, only in this situation, is that correct?
    We could help with a function that would change the heading size whenever it is used inside of a column that contains a custom class so that you can use this on multiple pages, would that help?

    Best regards,
    Mike

Viewing 30 posts - 18,751 through 18,780 (of 35,255 total)