-
Search Results
-
Hi,
I would like to have a button that opens a lightbox with some images (a gallery). I read a lot of support posts and came to the conclusion that it’s best to use Magnific Popup functions for that. So I came up with the following.
in my functions.php of my enfold-child theme I added:
wp_enqueue_script('fs-custom-js', get_stylesheet_directory_uri().'/js/custom.js', array('jquery'), null, true); add_theme_support('avia_template_builder_custom_css');to add my custom javascript file and have custom css feature in the ui builder. That works fine.
In my script file I did:
jQuery(document).ready(function( $ ) { $('.fs-gallery-button').magnificPopup({ items: { src: 'link/to/my/image.jpg' }, type: 'image' // this is default type }); });I added the fs-gallery-button class to the button and now if I click it it opens the lightbox image for about 1ms and then some css sets the opacity to 0.
This is just a one image test, but I want to add multiple images (hence a complete gallery) later.I hope you can give me some hints what I’m doing wrong.
PS: I checked the generated html of your lightbox (if used via a masonry gallery) here is the comparison for completeness. First is “my” code second is yours.
<body id="top" class="home page-template-default page page-id-812 logged-in admin-bar stretched roboto open_sans customize-support mfp-zoom-out-cur" itemscope="itemscope" itemtype="https://schema.org/WebPage" style=""> <div class="mfp-bg mfp-ready"></div> <div class="mfp-wrap mfp-close-btn-in mfp-auto-cursor mfp-ready" tabindex="-1" style="overflow-x: hidden; overflow-y: auto;"> <div class="mfp-container mfp-s-ready mfp-image-holder"> <div class="mfp-content"> <div class="mfp-figure"><button title="Close (Esc)" type="button" class="mfp-close">×</button> <figure><img class="mfp-img" src="url/to/image.jpg" style="max-height: 471px;"> <figcaption> <div class="mfp-bottom-bar"> <div class="mfp-title"></div> <div class="mfp-counter"></div> </div> </figcaption> </figure> </div> </div> <div class="mfp-preloader">Loading...</div> </div> </div> </body> <body id="top" class="home page-template-default page page-id-812 logged-in admin-bar stretched roboto open_sans customize-support mfp-zoom-out-cur" itemscope="itemscope" itemtype="https://schema.org/WebPage" style=""> <div class="mfp-bg avia-popup mfp-zoom-in mfp-ready" style="height: 17269px; position: absolute;"></div> <div class="mfp-wrap mfp-gallery mfp-close-btn-in mfp-auto-cursor avia-popup mfp-zoom-in mfp-ready mfp-image-loaded" tabindex="-1" style="top: 11658px; position: absolute; height: 471px;"> <div class="mfp-container mfp-image-holder mfp-s-ready"> <div class="mfp-content"> <div class="mfp-figure"><button title="" type="button" class="mfp-close">×</button> <figure><img class="mfp-img" src="url/to/image.jpg" style="max-height: 471px;"> <figcaption> <div class="mfp-bottom-bar"> <div class="mfp-title">Some Title</div> <div class="mfp-counter">2 / 3</div> </div> </figcaption> </figure> </div> </div> <div class="mfp-preloader"></div><button title="" type="button" class="mfp-arrow mfp-arrow-left mfp-prevent-close"></button><button title="" type="button" class="mfp-arrow mfp-arrow-right mfp-prevent-close"></button></div> </div> </body>Hi
This menu looks amazing under desktop: http://dns.d.pr/znVP36/4svf2cAT – from the “creative studio” demo: http://kriesi.at/themes/enfold-creative-studio/
However, on mobile it looks really tacky and lacks on the same wow effect as it does under desktop.
Is it possible to have a similar look on mobile and tablets, like the desktop?Thank you
Topic: Blog Slider
Hi! I would like some help to customize a little bit my blog slider, can you help me?
Post Slider Border and Hover: I would like to have a border on the featured image, each category would have a diffetend border color. I would like to change the Hover color too, the default is in black, one color for each category showing the post title. You can See the layout I imagined here: https://drive.google.com/file/d/0B9Cl0WGu5B3BRXFLeEVtZUdpNE0/view?usp=sharing
Post Slider Arrows: The default layout shows the arrows on the top of the images, this does not work for me because I need the arrows on left and right sides of the images. You can See the layout I imagined here: https://drive.google.com/file/d/0B9Cl0WGu5B3BRXFLeEVtZUdpNE0/view?usp=sharing
Can you help me to add a border and change the hover color to blog thumbnail ? And how can I change the arrows to this position and customization?
On private I am sending the user and password!
Thanks in advance!
Hello again,
I want to make tech news website, I will cover smartphone, tablet, smartwatch etc related news. Not TECH NEW WEBSITE. It’s tech news, technology news website. One of your moderator answered my question. I know it’s a mistake.
Here is the link- https://kriesi.at/support/topic/want-to-make-tech-news-website/?avia_support_contact=avs_59326e7585b347.80239455_803334
So, clear this confusion.
I have already seen all of your theme demos on your website. But none of those are exactly like technology news website demo.
I am looking for a theme that will help me. I am a big fan of enfold themes.
I want to make tech news website. I don’t know with this theme, it’s possible or not. But if it’s possible, then please help me and give me some of your valuable suggestions, so that I can create my website. It’s a great theme I know. That’s why I am a big fan. If you help me, that’s a lot for me.
Thanks.
Hi guys!
Still love Enfold, nice updates! Two questions:
1) I was wondering: the new burger menu option (Header > Header layout > Display as icon) seems to me like it would work great on mobile as well… How would I go about disabling the regular/old mobile menu to see if I could get the new burger menu to play nice with the theme?
2) While using the new burger menu as mentioned above, I would like to have an extra button in the header on desktop and tablet. How would I go about this? All the snippets and function.php addition I find are for other/older menu combinations! Any help would be greatly appreciated.
Kind regards,
Thomas
Hello again,
I want to make tech news website, I will cover smartphone, tablet, smartwatch etc related news. Not TECH NEW WEBSITE. It’s tech news, technology news website. One of your moderator answered my question. I know it’s a mistake.
Here is the link- https://kriesi.at/support/topic/want-to-make-tech-news-website/?avia_support_contact=avs_59326e7585b347.80239455_803334
So, clear this confusion.
I have already seen all of your theme demos on your website. But none of those are exactly like technology news website demo.
I am looking for a theme that will help me. I am a big fan of enfold themes.
I want to make tech news website. I don’t know with this theme, it’s possible or not. But if it’s possible, then please help me and give me some of your valuable suggestions, so that I can create my website. It’s a great theme I know. That’s why I am a big fan. If you help me, that’s a lot for me.
Thanks.
Hello,
I am using the enfold theme for quiet some time now and i am in general very happy with it! But I tried to change the theme language to German for several times now and without any success (the part showing to the customers in the frontend of the website, not the panel for the theme settings in the WP backend). I read different forum topics regarding related issues and translation files, but no solution worked for me. Maybe you can help me out with this please. I put some admin credentials in the private content.
Thanks in advance!
Viewing 30 results - 78,751 through 78,780 (of 142,898 total)

