Forum Replies Created

Viewing 30 posts - 1 through 30 (of 58 total)
  • Author
    Posts
  • Hi Ismael,

    So just to clarify, following the posts I’ve found on this forum there appear to be two ways to achieve what I am trying to:

    1. Adding a new menu that uses a button style (coloured or bordered) and then adding that as a widget in the layout builder in the column I want it to appear – it doesn’t appear as a button, it just appears as a conventional text menu list.
    2. Use the codepen HTML/CSS – this kind of works for me but the styling is wrong and I can’t get the width of the button to change (even using !important, clearing cache etc, and the actual text of the dropdown isn’t visible, even though the color is set to black (it only becomes visible once clicked on).

    I’ve tried toggling the performance as you suggested, but it still isn’t working.

    I’ve added both methods to a test page that you can have a look at (added to private content) to see exactly what I mean.

    Cheers,
    Matt

    Hi,

    I’m also trying to implement this but using a new menu set as a button in a widget area within my page doesn’t display a button – it just shows the links like in a regular menu. I’ve tried using the HTML/CSS from the codepen link above and that doesn’t display correctly either (although I seem to be missing some steps that were sent privately to the OP?).

    I just need an easy way to create a dropdown menu from a button that is placed within a column on my page (I’m using advanced layout). Please can you advise?

    Thanks,
    Matt

    in reply to: Horizontal gallery doesn't show all images #1146717

    I have the same problem using a horizontal gallery. The last 2 images (on desktop) are not visible and cannot be scrolled to (the penultimate image does partially display). Any ideas why this is happening?

    Thanks
    Matt

    in reply to: Adding a text link or button to mobile header #1113567

    Hi Victoria,

    Thanks for this. Unfortunately it doesn’t seem to work with the layout I am using (Logo & Main Menu >> Left Sidebar). The layout actually allows me to add a widget to the sidebar but it doesn’t appear once the screen size changes and the burger menu icon appears. On the demos in the documentation, the widget does appear regardless of the device size, but it simply didn’t work for me. I followed all of the instructions to the letter.

    I wanted to use the centered widget like in this example: https://kriesi.at/documentation/enfold/example-of-logo-left-widget-center-menu-right/ – but the layout I’m using doesn’t seem to support this. I only want the widget to appear on small screens when the burger menu icon is present (so between the logo and the burger menu icon).

    Cheers,
    Matt

    in reply to: Fullscreen slider responsiveness #1076849

    Hi Rikard,

    Thanks, but this won’t work. The slider caption needs it’s width changing to 100% and (potentially, depending on the amount of text in the caption) the top-margin reducing. For anyone else that wants a solution for both the iPhone X and Pixel 2XL in landscape mode, you can use the following media queries:

    /* change fullscreen slider caption to fit on iphone X landscape */
    @media only screen and (min-device-width : 375px) and (max-device-height : 812px) and (-webkit-device-pixel-ratio : 3) and (orientation : landscape)   { 
          .slideshow_caption {
          width: 100%!important;
          padding-top: 20px!important;
    }
    }
    
    /* change fullscreen slider caption to fit on Pixel 2XL landscape */
    @media only screen and (min-device-width : 412px) and (max-device-height : 823px) and (-webkit-device-pixel-ratio : 3.5) and (orientation : landscape)   { 
          .slideshow_caption {
          width: 100%!important;
          padding-top: 20px!important;
    }
    }
    in reply to: Enfold Breakpoints #1019379

    Thanks Mike, I appreciate your time and effort. In the end I re-uploaded my logos the exact same size as the demo template I used, which fixed the majority of the styling problems immediately.

    in reply to: VERY Slow Admin Back-End #469160

    profumopuntoit – removing the themeforest API key and username from Enfold>>Theme Update should fix it temporarily…

    in reply to: VERY Slow Admin Back-End #469151

    Removing API and username is a temp fix for me aswell. Would like auto-update to work though, so please let us know when you’ve fixed it Enfold! Thanks,

    Matt

    in reply to: VERY Slow Admin Back-End #469127

    I have the same problems, same WP error messages and same pixelentity error in my hosting cpanel error logs – have tried all the same steps as the first few posters, nothing has resolved it.

    This appears to be an Enfold problem as I have it across all my purchased Enfold sites. Running latest versions of WP and Enfold.

    A response from the staff would be great!

    in reply to: Menu link to open content in new lightbox (magnific popup) #348091

    Hi Elliot,

    Great stuff thanks! For the benefit of anyone else trying something similar, I had to ensure I added some classes to the content div aswell:

    e.g.

    <div class=”white-popup mfp-hide”>my inline content</div>

    .white-popup {
    position: relative;
    background: #FFF;
    padding: 20px;
    width:auto;
    max-width: 500px;
    margin: 20px auto;
    }

    The mfp-hide is a magnificpopup built in class, but it’s important to include it. It took me a while to figure out I needed that rather than style=”display:none;” which I had before but meant the popup didn’t work.

    Thanks,
    Matt

    in reply to: Adding Phone Number text and button to Main Header #292935

    Hi Yigit,

    Thanks. I was able to undo the change no problem and although I’m clueless when it comes to PHP you only have to give me the code and I know where to put it, I just don’t know the exact code.

    Regards,

    Matt

    in reply to: Adding Phone Number text and button to Main Header #292411

    Hi guys,

    This doesn’t seem to work with the latest version of Enfold (v2.9) – I get a white screen of death.

    Also, what would the code be if I wanted to add it to a child theme’s functions.php rather than Enfolds functions.php please? (I’m a php newbie sorry!)

    Thanks,

    Matt

    in reply to: Directions on google maps #292360

    For anyone else looking to do the same, don’t contact a developer. I just installed this free plugin: Mappress. No conflicts found so far and runs alongside the Enfold built in Google map element with no apparent errors.

    The free version of this plugin did everything I needed but you could also try the pro version of WP GoogleMaps. I very nearly bought it (only $19.99 for a 3 site license) and I’ve seen others on here who have used it OK with Enfold.

    in reply to: Google Maps API multiple times on the page #252104

    Hi Peter,

    That is great news. Yet again you guys deliver. So do I need to wait for 2.6.4 or will it work for 2.6.3, which was an update today, so I’m not sure whether it was before or after your post!

    Huge thanks again.

    Matt

    in reply to: Google Maps API multiple times on the page #251567

    Hi guys,

    Maybe you can help me now I’ve worked out where the other instances of maps.google.com, that affect the WP Store Locator plugin, are located:

    file affected: wp-content/themes/enfold/framework/php/class-framework-widgets.php
    function I commented out (line 1133 onwards):

    function helper_print_google_maps_scripts()
            {
                $prefix  = is_ssl() ? "https" : "http";
                wp_register_script( 'avia-google-maps-api', $prefix.'://maps.google.com/maps/api/js?sensor=false', array('jquery'), '3', true);
                wp_enqueue_script( 'avia-google-maps-api' );
    
                $is_widget_edit_page = in_array(basename($_SERVER['PHP_SELF']), array('widgets.php'));
                if($is_widget_edit_page)
                {
    	            wp_register_script( 'avia-google-maps-widget', AVIA_JS_URL.'conditional_load/avia_google_maps_widget.js', array( 'jquery','media-upload','media-views' ), '1.0.0', true);
    	            wp_enqueue_script( 'avia-google-maps-widget' );
    
    	            $args = array(
    	                'toomanyrequests'	=> __("Too many requests at once, please refresh the page to complete geocoding",'avia_framework'),
    	                'latitude'			=> __("Latitude and longitude for",'avia_framework'),
    	                'notfound'			=> __("couldn't be found by Google, please add them manually",'avia_framework'),
    	                'insertaddress' 	=> __("Please insert a valid address in the fields above",'avia_framework')
    	            );
    
    	            wp_localize_script( 'avia-google-maps-api', 'AviaMapTranslation', $args );
                }
            }

    File affected: wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/google_maps.php
    Function I commented out (line: 31 onwards):

    function extra_assets()
    			{
    				if(is_admin())
    				{
    					$prefix  = is_ssl() ? "https" : "http";
                		wp_register_script( 'avia-google-maps-api', $prefix.'://maps.google.com/maps/api/js?sensor=false', array('jquery'), '3', true);
    					wp_enqueue_script(  'avia-google-maps-api' );
    					
    					$args = array(
    		                'toomanyrequests'	=> __("Too many requests at once, please wait a few seconds before requesting coordinates again",'avia_framework'),
    		                'notfound'			=> __("Address couldn't be found by Google, please add it manually",'avia_framework'),
    		                'insertaddress' 	=> __("Please insert a valid address in the fields above",'avia_framework')
    		            );
    	
    		            wp_localize_script( 'avia-google-maps-api', 'avia_gmaps_L10n', $args );
    					
    				}
    			}

    After commented out these 2 functions the WP Store Locator plugin now works as it should, but obviously this is a temp fix as I will need to repeat the process after every update. Therefore, now you can see which functions are affected, would it be possible to provide me with some code I can add to my child theme’s functions.php? I know it’s a big ask (or not – not sure how easy it is for you guys!), but this would be a massive help if it’s not too much trouble for one of you php gurus?

    Many thanks

    Matt

    in reply to: Google Maps API multiple times on the page #251481

    Hi Peter,

    Unfortunately, that doesn’t work either. The google maps api warning is still there (I’d emptied all caches). Looks like the plugin author is not going to get back to me either. Any other ideas?

    Many thanks,

    Matt

    in reply to: Google Maps API multiple times on the page #251140

    Hi Ismael,

    Thanks and I appreciate you can’t support 3rd party plugins, so I am grateful. However, I’ve just tested a clean install of Enfold with just this WP Store Locator plugin installed and I am still getting the Google Maps API warning. I’ve changed themes to twentyfourteen and it works fine with that, so it must be Enfold is using the Google Maps API somewhere, even though I haven’t put any google maps on the test site (clean install)??

    I’ve set-up a temporary test site with only Enfold and WP Store Locator installed and have given a login to the plugin author, so hopefully he’ll try and find a fix – I reminded him how popular Enfold was and that it would be beneficial to have his theme working with such a top seller, so hopefully he’ll help!

    However, if you did want to just test it yourself with Enfold and WP Store Locator, please feel free and let me know if you work anything out! Or if you can point out where the other instance of Google Maps API is being included?

    Many thanks,

    Matt

    • This reply was modified 5 years, 10 months ago by  meanster99.
    in reply to: Mobile Menu options #238519

    @040hosting – no worries, I wasn’t have a dig at you or anyone else, just wanted to bring the topic back to my original question. Feel free to carry on with the WPML stuff now though…hope you get it sorted.

    in reply to: Mobile Menu options #238467

    Hi Devin,

    I was hoping that your tagging of Kriesi would provide a definitive answer. If I’ve deleted my previously downloaded theme files, where will I find a copy of version 2.5.4 please?

    Thanks,

    Matt

    in reply to: Mobile Menu options #238461

    Hi guys,

    I feel my OP has been hijacked a bit and is now about the WPML problem. All I want to know is can the old dropdown mobile menu be put back in? If I have to roll-back a version how do I do that please? I’d rather not have to roll-back though!

    Many thanks,

    Matt

    in reply to: Header issues after updating to version 2.6 #235015

    If you have a custom header.php in a child theme folder, you will need to remove it and add your customisations to a copy of the new header.php as it has changed considerably between the versions. That’s what caused all of my header display problems.

    in reply to: Header issues after update to v2.6 #235005

    OK, I’ve figured it out and it’s probably what is causing others issues. I am using a child theme and have made a few customisations to the header.php. I had to delete my current header.php (from my child theme) and add my customisations to the new header.php file that I copied into my child theme folder.

    in reply to: Slide out menu icon #228967

    OK, I can get the CALL US to work OK now with the following CSS:

    #advanced_menu_toggle {line-height:14px;}
    #advanced_menu_toggle:after { content: ‘CALL US’; font-size: 14px;}
    #advanced_menu_toggle:before { display: none; }

    But I would still prefer a phone icon please, if you can help?

    Thanks,

    Matt

    • This reply was modified 5 years, 12 months ago by  meanster99.
    in reply to: Displaying HTML code snippets #220395

    Hi Devin,

    Thanks for the tip – I tried gist but they closed my account because they said I was spamming! I only created about 5 gists for image links to my site. I reckon I could carry on as an anonymous user and be OK, but my client wasn’t that happy with the size of the embedded gist box and the ” hosted with ❤ by GitHub” on the bottom (as the code is essentially only 1 or 2 lines long, there is almost more reference to github than the code itself!).

    I’ve since discovered CodePen, which is much the same as gist, although I’m still not happy with all the extraneous links on the code box itself.

    I think I will just stick with using <pre> tags and I’ll create a text file with all the links on for quick reference, then if I need to edit the page again (and WP screws up my code) I’ll have a quicker way of redoing it. Not convenient but makes for cleaner code boxes, which is important for my client’s site.

    Thanks,

    Matt

    • This reply was modified 6 years ago by  meanster99.

    Hi Yigit,

    Yes I’ve sort of figured it out thanks. It looks OK on my iphone now but it may appear quite a bit off centre on smaller tablets or very large phones (as the ‘left’ property is still set to 10%). It’s not perfect but at least it looks better than it did. Thanks for all your help.

    Cheers,

    Matt

    Thanks Yigit, it’s not exactly what I need but I will have a play with it and see if I can get it the way I want it. Ideally the lightbox would be big enough to properly contain all the form fields, the submit button and the forgot password link in smartphone portrait mode, because currently the lightbox is very small on smartphone portrait view and doesn’t show all of the content properly. I messed around with the percentages but then it breaks the lightbox apart between smartphone and tablet viewport sizes.

    Cheers,

    Matt

    This reply has been marked as private.
    This reply has been marked as private.
    in reply to: Ajax portfolio preview – blank spaces stripped #196959

    Thanks Ismael, already using the latest update. It must be a either something local to me or the very specific circumstances I am using for the portfolio preview (which may be difficult to replicate, and so prove). As it’s just my problem I will have to put the &nbsp; before and after punctuation marks. Thanks anyway…

    in reply to: Questions about portfolio setup #140511

    Another way to remove the Kriesi link in the footer is to add [nolink] to the box under Enfold>>Footer>>Copyright. That way it doesn’t matter if you update the theme and are not using a child theme.

    You can add it after any customised text you also want to display in the footer.

    e.g. Copyright © 2013 Your Website. All Rights Reserved. [nolink]

Viewing 30 posts - 1 through 30 (of 58 total)