Viewing 30 results - 83,461 through 83,490 (of 142,642 total)
  • Author
    Search Results
  • HuxburyQuinn
    Participant

    Another Share.

    After reading these posts:

    https://kriesi.at/support/topic/open-form-in-a-lightbox-popup/

    https://kriesi.at/support/topic/inline-content-in-magnific-popup/

    These solutions were difficult.

    The current problem with Enfolds is that only certain AVIA LAYOUT BUILDER – LAYOUT ELEMENTS allow for a custom Developer ID.

    The issue with each of theses layout elements (Colour Section, Grid Row, Tab Section ) is that they are all full width and interfere with the side bar position. Not good if you are adding a linline popup link. And the popup content has to be inside a ‘Colour Section’.

    I should note that you can add a custom ID to a [CODEBLOCK] [/CODEBLOCK], However this didn’t work either as paragraphs <p></p> were stripped from the HTML and replaced with inverted commas “” loosing any paragraph styling.

    AVIA LAYOUT BUILDER would be more flexible if we had the ability to add theme support for custom ID on layout elements, the same way you currently add theme support for ‘Custom Css Class’…

    add_theme_support('avia_template_builder_custom_css');
    

    Any way, I though I would share my quick [SHORTCODE] solution with the community.

    Enfolds out of the box already supports lightbox modal windows for videos and images. This solution allows you to display large amounts of formatted text like; terms and conditions, privacy statements, warranty etc. in a lightbox modal window.

    Lets get started.

    As Magnific Popup is installed natively with Enfolds Theme, we don’t need to load any other assets.

    ——————————————————————————-
    PHP
    In your child-theme functions.php file add the following code:

    
    /*-------------------------------------------------------------------------------
    INLINE POP UP ENABLER
    -------------------------------------------------------------------------------*/
    function inline_popup_enabler(){
    ?>
    <script>
    (function($){
        $(window).load(function() {
        	$('.inline_popup').magnificPopup({
        	  type:'inline',
        	  midClick: true 
        	});
        });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'inline_popup_enabler');
    
    /*-------------------------------------------------------------------------------
    	SHORTCODE  - INLINE POST CONTENT POP-UP	
    	[mfp_post_popup post_slug_id="" popup_id="" link_text="" custom_class=""]
    -------------------------------------------------------------------------------*/
    
    function mfp_post_popup_shortcode( $atts ){
    
    	//default values
        extract( shortcode_atts([
            'post_slug_id' => '',
            'popup_id' => '',
            'link_text' => 'hello',
            'mfp_hide' => 'mfp-hide',
            'custom_class' => 'mfp_popup_content'
        ], $atts ) );
        
    	//get post content
        $pop_slug = get_post($post_slug_id);
        $content = apply_filters( 'the_content', $pop_slug->post_content );
    
    	//output post content into the footer before the closing body tag - content is hidden 
        add_action('wp_footer', function() use($content, $popup_id, $mfp_hide, $custom_class) {
            echo sprintf(
                '<div id="%s" class="%s %s">%s</div>',
                $popup_id,
                $mfp_hide,
                $custom_class,
                $content
            );        
        });
        //output popup link
        return sprintf(
            '<a class="inline_popup" href="#%s">%s</a>',
            $popup_id,
            $link_text    
        );
    
    }
    add_shortcode( 'mfp_post_popup', 'mfp_post_popup_shortcode' );
    
    

    ——————————————————————————-
    CSS
    In your child-theme/style.css file add the following CSS:

    
    .mfp_popup_content {
    	position: relative;
    	background: #ffffff;
    	padding: 40px;
    	width: auto;
    	max-width: 600px;
    	margin: 100px auto;
    	overflow: auto;
      }
    

    This CSS class is all you need to style the popup window. As this is a custom_class you can change the name of the class in the code or override the default class name by adding custom_class”” to the shortcode. and style to your hearts content. Rounded Corners, Colour Border, Coloured Background etc. etc.

    ——————————————————————————-
    CONTENT
    First create a new PAGE or POST with the content you want to display in your popup and publish.
    Take note of the post ID, which can be found in the URL address bar at the top of the browser http://domainname.com/wp-adminpost.php?post=

    ——————————————————————————-
    SHORTCODE
    On your page where you want to popup the content, add the following inline [SHORTCODE]:

    [mfp_post_popup post_slug_id="" popup_id="" link_text=""]
    

    post_slug_id=””
    Enter the ID of the post that you want as content in your popup window.
    Example: post_slug_id="5"

    popup_id=””
    Enter a custom identifier for the popup. For multiple popup’s on one page, use a different identifier for each popup_id. Don’t use spaces in the ID name. You can use underscore _ and dash – in place of spaces.
    Example: popup_id="popup_1"

    link_text=””
    Enter the text ( spaces are allowed ) that will be the active link for the popup.
    Example: link_text="open me"

    EXAMPLE:
    Some custom content here with in line link to [mfp_post_popup post_slug_id="5" popup_id="popup_1" link_text="open me"] in a popup window.

    ——————————————————————————-
    EXPLINATION

    The code does 3 things:

    1. Adds a jQuery script to the footer that enables Magnific popup for elements with a class .inline_popup

    2. Creates the active link where the [SHORTCODE] is inserted

    <a class=”inline_popup” href=”#popup_id”>link_text</a>
    

    3. Creates a hidden div in the footer that contains the content from the post_slug_id

    <div id=”popup_id” class=”mfp_hide custom_class”>content</div>
    

    ——————————————————————————-
    TWEAKS

    You may find that not all custom theme style colours translate into the magnific popup modal window. However by adding some additional css styles you can target the elements again.

    .main_color blockquote { border-color: #c3512f; }
    

    Change this by add additional CSS to your child-theme’s style.css file

    #top .mfp_popup_content blockquote { border-color: #c3512f; }
    

    That’s about it.

    Please Share

    #754326

    Ok thank you
    Topic closed
    Cheers
    Nad

    #754316

    Topic: Issues saving

    in forum Enfold
    jmorley88
    Participant

    I am working one a site and I have run into some issues saving and updating a page.

    When i go into the home/about page, and update one text box ( ‘who we work for’) i save it then > the saved visual turns to text code and does not let me save, all is just frozen. (https://s3.amazonaws.com/app.codeable.io/attachments/52209/wordpress_textbox.png)

    When i Preview the page – there is a huge black box on top of the sunflower image, and all else is lost. (https://s3.amazonaws.com/app.codeable.io/attachments/52209/wordpress.png)

    Theme and WordPress are up to date.

    #754306
    LordLiverpool
    Participant

    Hello Kriesi

    I’m trying to get the Enfold Google Map Widget to be the full width & height (if possible) of it’s Colour Section.

    I tried following the instructions contained in this post,

    https://kriesi.at/support/topic/google-maps-full-width/

    i.e. give the Colour Section an ID and add some Quick CSS, but it didn’t work.

    #fullwidthmap .container {
    width: 100% !important;
    }

    Any ideas?

    Cheers

    • This topic was modified 8 years, 11 months ago by LordLiverpool. Reason: forgot to mention height
    timp_pro
    Participant

    Hi !
    First of all, sorry for my english…

    I purchased this theme yesterday and I deployed a WordPress app in Heroku…

    Afther that, I loaded a demo and something went wrong. I get this message on the top of the page…

    Warning: include(/app/public.built/wp-content/uploads/avia_fonts/flaticon/charmap.php): failed to open stream: No such file or directory in /app/public.built/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/font-manager.class.php on line 488

    Warning: include(): Failed opening ‘/app/public.built/wp-content/uploads/avia_fonts/flaticon/charmap.php’ for inclusion (include_path=’.:/app/.heroku/php/lib/php’) in /app/public.built/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/font-manager.class.php on line 488

    Also, I see that I can’t import theme settings and Iconfonts because I don’t have Super Admin privileges… I don’t understand that, because I’m the only admin in the WordPress…

    Thank you :)

    #754301
    aka-alex
    Participant

    Hi, Is there a way to show a different featured image slider on mobile version of my site? I tried this solution , obviously changing CSS class and the respective Quick CSS code, but my result is a duplicate slider. Is there a simple solution for this task?Thanks

    Hi again,

    I’ve tested it at bigger resolutions, and it sort of works still. It definitely isn’t as pretty, but it’s functional – which is partly to be expected :)

    The only thing I’d like to change, is the “.av-sidebar-social-container” (a link to LinkedIn), which is a bit messed up at 1920×1080 at 24″ monitor. It still works, but the clickable area only fills the top 2/5 of the container. Would I be able to make the element fill the container area? If that makes sense.

    Link and login is in the private area of the first post in this thread :)

    Thank you again – you’re lifesavers!

    #754262

    In reply to: Custom Header Height

    Hi Rikard

    If i wanted to create a page like this
    http://theethicalgardener.com/

    – where there’s to top menu bar for social media icons
    – logo is almost full screen
    – Then the header height of 90% so the user can just see the menu below but none of the main content.

    Is there another way you would create this layout?
    The custom pixel value is good but max is 300px
    A future version might include a percentage option maybe?

    Let me know what you think.
    thanks in advance

    #754235

    Hey 2011apuchin,

    Please try to stick to one thread for your problem, I have replied to your other thread already so I’ll close this one for now. https://kriesi.at/support/topic/problems-with-menu-and-woocommerce/

    Best regards,
    Rikard

    #754234
    VJLoops-GT
    Participant

    Hello guys/girls,
    I have 2 topics I’m interested to ask about, hope that’s ok :)

    1- I want, using Enfold, showcasing a few websites examples.
    Basically within my main website I’d like to link into 2-3 different looks I can provide,
    while each look is a website using Enfold but with different settings I will choose. (probably it’s very common as well).
    Would I need to purchase a separated license to each demo-site?
    Or maybe it’s a feature exists within Enfold, since I’d just need to show an example of a front left (with a different menu).

    2- Is there a feature that allows to create something like this table-box-column (not sure how to name it)
    https://www.dropbox.com/s/jr13ados9wg7sox/tablebox.jpg?dl=0

    Thank you very much in advance,
    Elad.

    #754230

    Hi Jean,

    Thanks for the feedback. Let us know if you should need any further help on the topic.

    Best regards,
    Rikard

    #754226

    The credentials are the same of the other topic. :)
    I posted in “private content”.
    Thank you!

    #754202

    Hi,

    Thanks for your patience :) You can add this css code in Quick CSS:

    
    #top #wrap_all .template-blog .category-montepio-y-mutualidad h2.post-title.entry-title, 
    #top #wrap_all .template-blog .category-montepio-y-mutualidad .blog-categories a {
        color: blue;
    }
    
    #top #wrap_all .template-blog .category-balneario-de-ledesma h2.post-title.entry-title, 
    #top #wrap_all .template-blog .category-balneario-de-ledesma .blog-categories a {
        color: green;
    }
    
    #top #wrap_all .template-blog .category-residencia-spa-de-felechosa h2.post-title.entry-title, 
    #top #wrap_all .template-blog .category-residencia-spa-de-felechosa .blog-categories a {
        color: yellow;
    }
    

    so far these 3 are the categories that I can see, you can see the code above it’s mostly similar just the .category-xxx, just adjust the colors also.

    As for the buttons, I could see the Read More button, let me know if it’s the wrong button or if I misunderstood.

    Best regards,
    Nikko

    Hey!

    Could you please provide the login details? And post the content of the .htaccess file on pastebin.com.

    Related thread:

    // https://kriesi.at/support/topic/mailchimp-integration-stopped-working-again/#post-740471

    Regards,
    Ismael

    #754184

    I have temporarily changed the menu to a mega menu so that my client can review. I would still like to get the menu as an icon on desktop working however, so any help addressing this issue is appreciated. Thank you!

    #754181

    Hi!

    Please follow the instructions in the following thread.

    // https://kriesi.at/support/topic/magazin-element-visible-extract/#post-523479

    Best regards,
    Ismael

    #754171

    Hi, I also have some issues with the tab section. I understand that you guys are pretty busy but still hope to get answers ASAP.

    Here’s my original post:
    https://kriesi.at/support/topic/tab-section-didnt-work/

    Here’s the sample with issues:
    http://4ning.com/new-feature-test-page/

    Thasnks

    • This reply was modified 8 years, 11 months ago by retawer.
    #754163

    Hi,

    Great, glad you got it working and thanks for the feedback. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    Hi,

    Great, glad you found the problem and thanks for sharing. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #754161

    Hi Stefan,

    Great, glad you got it working and thanks for letting us know. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #754142

    In reply to: question 3

    Hi,

    Great, glad you got it working. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #754127

    Hey DROR,

    Try adding this to quick css:

    #top .av-subnav-menu  li:first-child a {
         border-left-style: solid !important;

    Best regards,
    Jordan Shannon

    #754107

    In reply to: Mobile header height

    Hi jaroljmek!

    Please try adding the below code in Quick CSS

    If you have any issue feel free to get back to us with a link to your site.

    @media only screen and (max-width:767px) {
    	#top #header_main > .container {
        	height: 70px!important;
        	line-height: 70px!important;
        	max-height: 70px!important;
    	}
    	.html_header_top.html_header_sticky #top #wrap_all #main {
        	padding-top: 90px!important;
    	}
    }

    Cheers!
    Vinay

    #754105

    In reply to: Buttons alignment

    Hi,

    If you still like to center align the two buttons and give it equal width please check this post
    https://kriesi.at/support/topic/section-button-alignment/#post-721210

    Edit the max-width:350px!important; value to 40%

    To know more about enfold features please check – http://kriesi.at/documentation/enfold/

    Thank you for using Enfold :)

    Best regards,
    Vinay

    #754103

    Hey peanuttario,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    @media only screen and (max-width:960px) {
    	#top #header_main > .container {
        	height: 70px!important;
        	line-height: 70px!important;
        	max-height: 70px!important;
    	}
    	.html_header_top.html_header_sticky #top #wrap_all #main {
        	padding-top: 90px!important;
    	}
    	.sfm-navicon-button {
        	top: 0px!important;
    	}
    }
    
    

    Best regards,
    Vinay

    #754100

    Hey zakthorpe,

    You could use a specialized plugin for that: http://wordpress.org/plugins/contact-form-7/

    Or if you want to stick to the built-in one, take a look at this topic: https://kriesi.at/support/topic/mail-subject/

    Best regards,
    Jordan Shannon

    #754088

    Hi,

    Glad we could help. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #754086

    Hi,

    Great, glad we could help :-)

    Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    Steven_Haines
    Participant

    Hi, I’m experiencing two problems since updating to Enfold 4.0.2.

    The first is that when I open many content elements such as a Special Heading or a Button, the title at the top of the window shows the name of the element (sometimes it appears that some characters are missing) and the words Element Preview displayed over the top of each other. Interestingly, if I copy the text and paste it into a text editor, only the words Element Preview appear. Also, I do not see the actual element preview you mention in the description of new features in Enfold.

    The second problem is that a link entitled ‘Section content hidden. Click here to show it’ appears under each Color Section. The link attached to the text differs from section to section. For example, http://<addressremoved>/wp-admin/post.php?post=8&action=edit# or http://<addressremoved>/wp-admin/post.php?post=1212&action=edit#. Clicking these links has no apparent effect. However, sometimes but not always it causes WordPress to warn about moving away from the page as if an edit had been made.

    As fas as I can see, these problems have not affected how the site actually displays.

    Thank you for your assistance.

    #754063
    bobfurgo
    Participant

    Hi Guys!

    Hope all is well and love the new update! :)

    I have a quick question regarding the header. Currently have it set as fixed at 140px height which looks great on desktop screens but takes up too much room on laptop screens. I’ve been trying to find the right CSS selectors to modify the header height on laptops but can’t seem to find the right one. Could someone please assist me with this? (see private link)

    Thank you in advance!

Viewing 30 results - 83,461 through 83,490 (of 142,642 total)