Forum Replies Created

Viewing 30 posts - 17,431 through 17,460 (of 35,026 total)
  • Author
    Posts
  • in reply to: Lightbox Title text when image is in a Text Block #1203009

    Hi,
    Thank you for the link, as I understand you are adding your images to text block elements so if you use the “Text” tab in the element builder you can see the image code, like this:
    2020-04-11_183757.png
    Please try adding your title, such as title="my title" to the image code as shown in the screenshot, this will add the title to the lightbox image:
    2020-04-11_184410.png
    You can also use this function to add the title to future images added, it doesn’t correct images already posted, but will add the title for future images.
    Try adding this code to the end of your functions.php file in Appearance > Editor:

     // ~~~~~~~~~~~~~~~~~~~~~ Add Image Title - Crunchify.com Tips ~~~~~~~~~~~~~~~~~~~~~~~~
    function crunchify_add_image_title( $html, $id ) {
    	$crunchify_attach = get_post($id);
    	if (strpos($html, "title=")) {
        		return $html;
        	}
        	else {
    		$crunchifyTitle = esc_attr($crunchify_attach->post_title);
    		return str_replace('<img', '<img title="' . $crunchifyTitle . '" '  , $html);      
    	}
    }
    add_filter( 'media_send_to_editor', 'crunchify_add_image_title', 15, 2 );
     
    function crunchify_add_image_title_gallery( $content, $id ) {
    	$crunchify_title = get_the_title($id);
    	return str_replace('<a', '<a title="' . esc_attr($crunchify_title) . '" ', $content);
    }	
    add_filter('wp_get_attachment_link', 'crunchify_add_image_title_gallery', 10, 4);
    

    Code found here.

    Best regards,
    Mike

    in reply to: Anchor Links #1203005

    Hi,
    Thank you for the link, as I understand your issue you want the teal text to be a link and point to the graphic that says “THE TRUTH” which be in each post, so the anchor link will point to the same page.
    First, you will need to add an ID to the image “THE TRUTH”, such as the-truth
    2020-04-11_174325.png
    You will need to add the ID to the image on every page.
    now your anchor will be #the-truth so all of your links should point to the anchor.
    2020-04-11_175123.png

    Best regards,
    Mike

    in reply to: Can't update theme to 4.7 #1203000

    Hey alkmgmt,
    Sorry, these versions will require a manual update via FTP, The easiest and safest way to do this is to download the newest version from Theme Forest and rename your current theme folder to “enfold-old” via ftp then upload the new “enfold” folder and check that your site is working correctly.
    Should for some reason you wish to roll-back to the old version, it’s easy to do, simply rename the new “enfold” folder to “enfold-new” via ftp and then rename “enfold-old” to “enfold” then refresh your page.
    Once you are happy you can delete the “enfold-old” folder via ftp, (not the WP theme page)
    Please don’t try to overwrite the theme folder, as this will leave old files behind and cause errors.

    Best regards,
    Mike

    in reply to: I can't update Enfold 4.5.2 to 4.7.4 #1202996

    Hey VS2020,
    Sorry, with this version you will need to update manually via FTP, The easiest and safest way to do this is to download the newest version from Theme Forest and rename your current theme folder to “enfold-old” via ftp then upload the new “enfold” folder and check that your site is working correctly.
    Should for some reason you wish to roll-back to the old version, it’s easy to do, simply rename the new “enfold” folder to “enfold-new” via ftp and then rename “enfold-old” to “enfold” then refresh your page.
    Once you are happy you can delete the “enfold-old” folder via ftp, (not the WP theme page)
    Please don’t try to overwrite the theme folder, as this will leave old files behind and cause errors.

    Best regards,
    Mike

    in reply to: Hide the date from the Mansory Gallery #1202994

    Hi,
    Glad to hear that you have sorted it 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: Grid row image backgrand ovarlay #1202993

    Hey creativeopole,
    Thanks for the link, it looks like your cell “OFERTA” already has a background color and opacity, what are you having trouble with?

    #top .cs-flex-bg #cs-bg-oferta {
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5)!important;
    }

    Best regards,
    Mike

    in reply to: open lightbox from an anchor link #1202990

    Hi,
    Sorry, the first one is not possible, for the second one, you can’t have one button do two actions at the same time.

    Best regards,
    Mike

    in reply to: Icon next to title on portfolio Grid #1202989

    Hi,
    Sorry for the late reply, the following css will place an icon above the titles, to place a different icon above each title add the masonry ID to the code with the icon and copy for each icon. Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    #top .av-caption-style-overlay .av-masonry-item-with-image .av-inner-masonry-content .avia-arrow {
    	  display: block;
    	  top: 40%;
    	  left: 47% !important; 
    	  transform: rotate(0deg) !important; 
    }
    .av-masonry-entry .avia-arrow:before {
    	content: "\e821";
    	font-family: entypo-fontello;
    	color: #fff;
    	font-size: 40px;
    }
    
    @media only screen and (max-width: 767px) { 
    	#top .av-caption-style-overlay .av-masonry-item-with-image .av-inner-masonry-content .avia-arrow {
    	  display: block;
    	  top: 20%;
    	  left: 47% !important; 
    	  transform: rotate(0deg) !important; 
    }
    .av-masonry-entry .avia-arrow:before {
    	content: "\e821";
    	font-family: entypo-fontello;
    	color: #fff;
    	font-size: 20px;
    }
    }

    Best regards,
    Mike

    in reply to: Open image in lightbox with custom button #1202945

    Hi,
    Inside the popup you can add any content or shortcodes, for example code this would be another button:

    [av_button label='Large Button' icon_select='yes' icon='ue82b' font='entypo-fontello' size='small' position='center' label_display='' title_attr='' color='theme-color' custom_bg='#444444' custom_font='#ffffff' link='manually,http://' link_target='' id='' custom_class='' av_uid='' admin_preview_bg='']

    Best regards,
    Mike

    in reply to: Change Woocommerce term for "Cart" #1202916

    Hi,
    Thank you for the feedback, I see your child theme is active and your functions.php looks correct and ready to update the parent theme.

    Best regards,
    Mike

    in reply to: Error after update #1202672

    Hi,
    Thank you, I was able to login to your FTP. I’m investigating.

    Best regards,
    Mike

    Hi,
    I prefer the Duplicator plugin by Snap Creek. The last step it does is to correct the domain URLs with an auto search and replace.
    Otherwise, you can use the Better Search Replace plugin to correct the domain.

    Best regards,
    Mike

    Hi,

    @Terve
    please link to the page so we can see the error and investigate.

    Best regards,
    Mike

    in reply to: Social buttons images not showing #1202663

    Hi,
    That is strange, is this page the original that Polylang used to create the other languages with, or is this the page Polylang created? Can you recreate the page in Greek manually so it is editable?
    Please include an admin login in the Private Content area so we can investigate further.

    Best regards,
    Mike

    in reply to: LTR+RTL #1202656

    Hi,
    Glad to hear that it is working for you, instead of using if ( is_page ) you could use if ( is_singular ) is_singular() is for existing single post of any post type (post, attachment, page, custom post types including portfolio items).
    Please explain if you want to define when this is active or when it is not active. Do you want the RTL on most pages & posts or just a few?

    Best regards,
    Mike

    in reply to: Ninja forms mobile text input #1202650

    Hi,
    Thank you for the login, so I have not used the ninja forms plugin before, but as I check your form I find the many of your fields are marked as “Phone”, as if one phone field was duplicated many times and reused such as this field: “Please list the activities you gravitate too and enjoy.
    2020-04-10_063948.png
    You will see these fields also contain the phone attribute:
    2020-04-10_055948.png
    So I tried changing this but I’m not sure if you can change this or if you have to re-build the form using the correct fields. I tried making the changes but I’m unsure if it’s the caching is still showing the “phone attributes” or if I didn’t make the right changes.
    Please try asking the ninja forms support about how to change the fields.

    Best regards,
    Mike

    in reply to: creating an overlay in a column #1202641

    Hi,
    Glad to hear, shall we close this then?

    Best regards,
    Mike

    in reply to: Error after update #1202304

    Hi,

    @barbarajermini
    thank you for the login, I was able to login to your site but the FTP password seems to be wrong, please check.

    Best regards,
    Mike

    in reply to: Ninja forms mobile text input #1202274

    Hi,
    I didn’t look at the form in the backend, I didn’t see a login. I tested on my Android phone and then looked at the page code, screenshot above.
    I have not used the Ninja forms plugin, but I assume there are options for your field attributes in your form, please see if you can change them to text for the questions that require a text answer.

    Best regards,
    Mike

    Hi,
    To add the social share buttons to the bottom of each page you can use this function, try adding this code to the end of your functions.php file in Appearance > Editor:

    add_filter('avf_template_builder_content', 'avf_template_builder_content_mod', 10, 1);
      function avf_template_builder_content_mod($content = "")
      {
    	if(is_page() ) {
    	  $addendum = do_shortcode(" [av_social_share title='Share this entry' style='' buttons='custom' share_facebook='aviaTBshare_facebook' share_twitter='aviaTBshare_twitter' share_gplus='aviaTBshare_gplus' share_linkedin='aviaTBshare_linkedin' share_mail='aviaTBshare_mail' custom_class='' admin_preview_bg='' av_uid='av-670mc8'] ");
    	  $content = $content . $addendum ;
    	}
    	return $content;
      }

    This function will add the social share buttons shortcode to the bottom of each page built with the Advanced Layout Builder, after the builder content, but before the footer, so the social share buttons should use the page as the url.
    Please adjust the social share buttons shortcode to match your site, this code is just an example.
    If you change if(is_page() ) to if(is_page() && !is_front_page() && !is_home()) the social share buttons will show on every page except the homepage.

    Best regards,
    Mike

    in reply to: Ninja forms mobile text input #1202253

    Hi,
    I took a look at your questionnaire on my Android and I found that lower in the form the input fields contain these attributes:
    type="tel" name="phone" autocomplete="tel" were the user wants to input text.
    2020-04-09_062204.png
    I believe this tells my Android to show the number keyboard instead of the text keyword.
    Please check your form for these options and disable.

    Best regards,
    Mike

    in reply to: creating an overlay in a column #1202237

    Hi,
    Thanks for the feedback, it looks like the overlay was added twice so it is darker than expected, please include an admin login in the Private Content area so we can adjust.
    I also don’t see your breadcrumbs on your page or a post.

    Best regards,
    Mike

    in reply to: Unable to import demo #1201912

    Hi,
    Thanks for the namecheap login, I used your cPanel file manager to upload the images and imported your demo, it looks like everything is in order now. Please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: upgrade from differnt theme #1201902

    Hi,
    As I understand, in your WordPress admin menu you don’t see the WordPress > Appearance > Theme Editor option:
    2020-04-08_071020.png
    This can be due to a security plugin or this line of code in your wp-config.php file, define( 'DISALLOW_FILE_EDIT', true ); this would be removed via FTP, or you can just make your theme changes via FTP and not use the “theme editor”

    Best regards,
    Mike

    in reply to: pop up fenster #1201896

    Hi,
    Thank you for the feedback, to use the basic popup there is no setting, it is added with some code snippets and then your own HTML & css to style.
    To create a popup please follow these steps.
    So yes, it is like the cookie popup, when someone clicks the link the popup will show, if you want it to open automatically on the page load on a certain page we can help with more code like this added to your functions.php

    function custom_script(){
      ?>
      <script>
      (function($){
      	$(document).ready(function () {
      		 setTimeout(function() {
      $('a.open-popup-link').trigger('click');  
      		 },500);
      }); 
      })(jQuery);
      </script>
    <?php
    }
    add_action('wp_footer', 'custom_script');

    This code will open the link everywhere on your site, if you want it to only work on one page please let us know so we can adjust.
    One way to test this is to add this code to a code block element:

    <script type="text/javascript">
    jQuery(window).load(function(){
      jQuery('.open-popup-link').magnificPopup({
        type:'inline',
        midClick: true
      });
    });
    (function($){
      	$(document).ready(function () {
      		 setTimeout(function() {
      $('a.open-popup-link').trigger('click');  
      		 },500);
      }); 
      })(jQuery);
    </script>
    <!--/*triger*/-->
    <a href="#test-popup" class="open-popup-link">Click this button to open a lightbox</a>
    <!--/*popup box*/-->
    <div id="test-popup" class="white-popup mfp-hide">
    YOUR CODE GOES HERE
    </div>
    <style>
    /*css*/
    .white-popup {
      position: relative;
      background: #FFF;
      padding: 20px;
      width: auto;
      max-width: 500px;
      margin: 20px auto;
    }
    </style>

    2020-04-08_065030.png
    and then reload your page:
    2020-04-08_065201.png

    Best regards,
    Mike

    Hi,
    Ja, Sie können Ihre eigene Klasse erstellen und global zuweisen. Zum Beispiel auf Ihrer Homepage Ihre spezielle Überschrift “Themenwelten” habe ich die Klasse “custom-h3” hinzugefügt.
    2020-04-08_052552.png
    Jetzt können wir dieses CSS für die Klasse auf Desktop und Mobile verwenden:

    #top #wrap_all .av-special-heading.custom-h3 h3 {
    	font-size: 40px !important;
    	color: blue !important; 
    }
    @media only screen and (max-width: 767px) { 
    	#top #wrap_all .av-special-heading.custom-h3 h3 {
    	font-size: 20px !important;
    	color: orange !important; 
    }
    }

    Für den Desktop ist die Schriftart 40px & blau, und für Mobilgeräte ist die Schriftart 20px & orange. Die Farbänderung dient nur der Demonstration.
    Natürlich können Sie sich anpassen. Wenn Sie ein anderes Beispiel für eine andere Situation benötigen, teilen Sie uns einfach die Details mit.

    — Translated with Google —

    Yes, you can create your own class and assign it globally. For example on your homepage your special heading “Themenwelten” I added the class “custom-h3”
    2020-04-08_052552.png
    Now we can use this css for the class on desktop and mobile:

    #top #wrap_all .av-special-heading.custom-h3 h3 {
    	font-size: 40px !important;
    	color: blue !important; 
    }
    @media only screen and (max-width: 767px) { 
    	#top #wrap_all .av-special-heading.custom-h3 h3 {
    	font-size: 20px !important;
    	color: orange !important; 
    }
    }

    For desktop the font is 40px & blue, and for mobile the font is 20px & orange, the color change is just to demonstrate.
    Naturally, you can adjust to suit. If you need another example for a different situation just let us know the details.

    Best regards,
    Mike

    in reply to: Social buttons images not showing #1201605

    Hi,
    I believe you mean that you will update from v4.6.3.1 to v4.7.4
    I’m not sure what your “critical error” was so it’s hard to say where the error is coming from, did you see a error message that gave you more info? Perhaps the server error log has more info?

    Best regards,
    Mike

    Hi,
    Thanks for the login, I was able to modify the post a couple of times without any errors. Please check that you are still getting an error.
    This sounds like an “error 500” which is from your server, if so please ask your webhost to check the error log for any cause.

    Best regards,
    Mike

    Hi,
    Vielen Dank für die Anmeldung. Ich habe mir Ihre spezielle Überschrift auf Ihrer Homepage unter der Registerkarte “Styling” angesehen. Hier können Sie Ihre Schriftgröße für die verschiedenen Geräte festlegen
    2020-04-07_072615.png

    — Translated with Google —

    Thanks for the login, I took a look at your special heading on your homepage under the styling tab, this is where you can set your font size for the different devices:
    2020-04-07_072615.png

    Best regards,
    Mike

    in reply to: Unable to import demo #1201584

    Hi,
    Thank you for the feedback, I was able to login to your site. I installed the reset plugin and reset your site and tried to import the “Minimal Portfolio Demo” but the images don’t seem to have imported.
    I see that your “PHP Max Upload Size” is 2M, which is pretty small, if you include ftp access I can try uploading the images manually and then import again with a modified import file which will import your images from your server and not ours.

    Best regards,
    Mike

Viewing 30 posts - 17,431 through 17,460 (of 35,026 total)