@Monamos Hire @arminunruh to make a variant LAY theme licensable for your use.
dani
Posts
-
Whitelabeling Lay theme source -
Accordeon-feature or plugin? -
Accordeon-feature or plugin?try this:
HTML
<div class="more">Click here for more info</div> <div class="less">Here is the hidden content</div>
Use <div> instead of <p>, so that you can use <p> within the hidden content.
CSS
/* open close dots - see JS */ .more:hover:after { content: " ○○○"; } .more:after { content: " ●●●"; } .less { display:none; }
JS
<script> window.laytheme.on("newpageshown", function(layoutObj, type, obj){ /* open close dots */ jQuery('.more').click(function(){ jQuery(this).next().slideToggle(); jQuery('.less').not(jQuery(this).next()).slideUp(); }); }); </script>
-
Mouse hover effect italicTry it with
transition: all 200ms;
:D
-
Q Translate X is DEAD?@Richard I'm trying it out now... thanks
-
qTranslate-XT (3.10.0), last version does not work anymore ;(@Markus It's no longer supported by WP!
-
Q Translate X is DEAD?https://wordpress.org/plugins/qtranslate-x/
WP is not longer supporting this plugin. I've had some problems with it recently, perhaps that's why.
-
Editing Page using "Element Grid/Masonry" with text causes endless text doublesYeah it's an incompatibility with Q-Translate X....
-
No Images on tablet and phoneThis is helpful :D
-
Change swiper autoplay transition speedHi,
I'm trying to send a new speed variable to the carousel swiper function. The JS is
var w = jQuery(a).find(".swiper-container"), m = new Swiper(w[0], { speed: 350, effect: "slide", spaceBetween: v,
And I'm adding this in an HTML block on the page
<script> jQuery( document ).ready( function() { const imageCarousel = jQuery ( '.swiper-container' ), swiperInstance = imageCarousel.data( 'm' ); swiperInstance.params.speed = '1000'; swiperInstance.update(); }); </script>
Error in the console is:
(index):1352 Uncaught TypeError: Cannot read property 'params' of undefined at c.Channel.<anonymous> ((index):1352) at p (backbone.min.js?ver=1.4.0:2) at f (backbone.min.js?ver=1.4.0:2) at c (backbone.min.js?ver=1.4.0:2) at c.Channel.n.trigger (backbone.min.js?ver=1.4.0:2) at frontend.app.min.js?ver=3.8.5:1
Anyone know how to set a new speed via a script?
Thanks!
-
Horizontal Scroll Gallery@felix_rabe said in Horizontal Scroll Gallery:
<script>jQuery(function () {
jQuery.fn.hScroll = function (amount) {
amount = amount || 120;
jQuery(this).bind("DOMMouseScroll mousewheel", function (event) {
var oEvent = event.originalEvent,
direction = oEvent.detail ? oEvent.detail * -amount : oEvent.wheelDelta,
position = jQuery(this).scrollLeft();
position += direction > 0 ? -amount : amount;
jQuery(this).scrollLeft(position);
event.preventDefault();
})
};
});
jQuery(document).ready(function() {
jQuery('.div').hScroll(30); // You can pass (optionally) scrolling amount
});
</script>Hey Felix,
Can you show the working code (HTML)?
Thanks!
-
How to Menu Dropdown?put this in your desktop CSS, and then add sub menu items in 'menus'
nav.primary .sub-menu { display: none; position: absolute; left: -10px; top: 40px; padding: 10px; } nav.primary .sub-menu li{ display: block; padding-bottom: 5px; } .menu-item:hover .sub-menu{ display: block !important; } li.menu-item-has-children{ position: relative; }
-
lay-col-needs-leftframe-marginYes that makes sense, but in this case the first element is a graphic, not text (curtain graphic at top).
-
lay-col-needs-leftframe-marginHi,
I just found this bit of CSS that overrides the flush left margin. The right margin goes right to the browser edge, but the left doesn't..lay-col-needs-leftframe-margin
Can you explain why this was added?
-
Flying Sidecartthank you very much!
-
Flying SidecartHey,
Thanks for the LAY SHOP!
Q: About the flying sidecart... I don't see this in the options. Is it another plugin? -
sticky@Sophie1000 Hi Sophie, there are almost some solutions, but nothing that works easily and without some little bugs... did you find anything? Please let me know. Thanks
-
stickyHi Marius,
The sticky works, but I could not figure out how to isolate/specify the z-index of the sticky elements (so they would appear on top). Let me know if you find a solution for it! I'd love to use it.