Forum Replies Created
-
AuthorPosts
-
April 13, 2018 at 7:30 pm in reply to: How to customise the load more button in a masonry gallery? #941649
nice to see one screenshot – and you are not able to adjust the few lines yourself ?
Centering from a screeshot is hard to say – center to what – a link is alway better#top .av-masonry-load-more { display: inline-block; box-shadow: 1px 1px 3px #666; border-radius: 15px; left: 50% ; transform: translateX(-50%); position: relative; top: 15px; color: #fff ; background-color : rgb(30,205,215) !important; font-size: 28px !important }
PS : you get rid of that deformation by letter-spacing set to 0px
a small supplement, because I see that you offer a whole range of different Youtube films on the page:
here is a small tutorial how to get one youtube goes to play and stops the other one.:
https://webers-testseite.de/youtube-videos/this is only set if enfold detects a masonry and if content height is bigger than window height:
shortcodes.js:
//fix for non aligned elements because of scrollbar if(container.outerHeight() + container.offset().top + $('#footer').outerHeight() > $(window).height()) { $('html').css({'overflow-y':'scroll'}); }
we had to find a different solution for it
the scrollbars have a given width ( guess something like 17px)
the overflow-y : scroll rule sets scrollbars even if the content fits into screen-height !
Some browsers ( guess safari or the mobile browser ) hide the scrollbars on lightbox open (even if content is bigger than screen-height) if there wasn’t a overflow setting ( or set to auto)i’m on that topic – but yet i do not know how to have a child theme friendly solution.
I have to read more in the magnific popup api documentation to see if there was a possibility. The code inserted from enfold to html (overflow-y: scroll) is inline code too – on that testpage of Semenovs Testpage is set via css.PS : on his example page this is exactly the behavior – on lightbox open the html goes to overflow-y : hidden
http://dimsemenov.com/plugins/magnific-popup/Without a link – you must wait til mods are here – could be everything
April 12, 2018 at 6:51 pm in reply to: How to customise the load more button in a masonry gallery? #941084for example if you don’t like it fullwidth :
#top .av-masonry-load-more { display: inline-block; box-shadow: 3px 3px 6px #666; border-radius: 15px; left: 50% ; transform: translateX(-50%); position: relative; top: 15px; }
how did you get that banner on top ? https://dev.mediabox.ca/3/
i mean your first page with the members login. Great idea
Sometimes you forget to mention the simple things.
At the moment I am trying to gain a deeper insight into the jQuery programming. That’s why I approach some solutions from this point of view.
I have recently written a code for the funcions.php, which checks whether a mobile device accesses the site or a desktop pc.
Enfold has that already in avia-compat.js , and then assigns to the devices each a unique html class.
So if you want to make a css rule only for mobile devices you always can use : html.avia_mobileby the way : I would never have come up with the idea of placing shortcodes in a menu navigation label.
But it works well !yes but do it in private content the download zip file
im übrigen: um wie auf der Beispielseite Texte einzufügen und abzuändern ( trotz Enfold Einstellung die Labels oberhalb anzuzeigen:
das in functions.php of child-theme: (for me it was page-id-2604)function change_placehoder_txt() { if( is_page(2604) ) { ?> <script type="text/javascript"> jQuery('#avia_1_1').attr('placeholder', ' Bitte hier Ihren Namen eintragen*'); jQuery('#avia_2_1').attr('placeholder', ' E-Mail* - ohne wird es nicht verschickt'); jQuery('#avia_3_1').attr('placeholder', ' Ein Betreff - nicht nötig aber nützlich'); jQuery('#avia_4_1').attr('placeholder', ' Nachricht* - Ihr Anliegen'); </script> <?php } } add_action('wp_footer', 'change_placehoder_txt');
1) there is a checkbox on alb element –
2 ) you can copy html code to the form element label as ( if you like get rid of target blank) :
<span>I have read the <a href="https://page-url-to-privacy-data" target="_blank">Privacy Statement</a>. I agree that my details and data will be collected and stored electronically to answer my request. Note: You can revoke your consent at any time for the future via e-mail to (Email address hidden if logged out) *</span>
3) do not preselect check-mark – the user has to do it activly
4) this has to be a mandatory fieldPS : the span is good to style it differnt to other labels ( make font-size smaller etc. )
You can see it here with enfold contact form: https://webers-testseite.de/kontakt/because it is an upload – there are tools or plugins which hampers uploading files
i don’t know why the last quotation marks are transfered to curved one.
your are using the normal text editior of WordPress ?
try to deactivate all plugins (only cf7 active) and have a look if it works then.With login you have to wait for a mod – i’m participant as you are – so i do not see private content
-
This reply was modified 6 years, 10 months ago by
Guenni007.
no – and the double quotation marks do change to simple one ?
can you please copy and paste this to your text:[contact-form-7 id="483" title="Contact form 1"]
please show us the shortcode you set in text field
ah sorry i see – the quotation marks are changed – : try
[contact-form-7 id="483" title="Contact form 1"]
try to insert the code not in the visual mode but in text-mode and save
-
This reply was modified 6 years, 10 months ago by
Guenni007.
the magnific popup script sets the html to overflow-y scroll.
that has the reason not at last because otherwise on open the lightbox the background will jump to the right ( the width of the scroll bars)
This looks ugly too.April 12, 2018 at 12:13 pm in reply to: Time code for Youtube videos when full screen slider #940880on embed shortcode it is:
https://youtu.be/MkYJaieL7OU?t=1m20s
and by the way the starting time option is with embed or watch:
&start=80 bzw &end=28
https://www.youtube.com/embed/MkYJaieL7OU?start=80
https://www.youtube.com/embed/MkYJaieL7OU?start=80
always think of that the first option after video id is a question mark !
-
This reply was modified 6 years, 10 months ago by
Guenni007.
but it isn’t that terra messflug at ? This is not enfold
a very simple quick and dirty method would be to have a non transparent background ;)
.mfp-zoom-in.mfp-ready.mfp-bg { opacity: 1; }
Did you use a different lightbox plugin ? That would be nice to know
can you show me the link to that?
the magnificPopup event must add the overflow:hidden to html .
hm : just brainstorming…or – you replace the text what is shown on hover – for example to show the alt attribut text.
If the image doesn’t have one – there will be nothing to see – if you have set an alt attribut this will show instead.this to functions.php of your child theme
function image_alt_not_title(){ ?> <script> (function($){ $(window).load(function() { $('.lightbox-added img').each(function(){ var lin = $(this).attr('alt'); $(this).attr('title',lin); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'image_alt_not_title');
you like to see the videos in a lightbox after click or directly on that masonry ?
no one hampers you to put in an image masonry links to the images
(but you have to take here the watch links of youtubelink f.e.
https://www.youtube.com/watch?v=L8eRzOYhLuw?autoplay=1&ecver=2&showinfo=0&loop=1&rel=0&start=30&iframe=true
see masonry ( left image has a youtube link): https://webers-testseite.de/youtube-masonry/
-
This reply was modified 6 years, 10 months ago by
Guenni007.
April 11, 2018 at 9:00 pm in reply to: Issue with Sidebar being pushed to the bottom of page #940643well look here – the grid row is nice to have for nested elements.
but it also bothered me that the element always has full widthhttps://kriesi.at/support/topic/grid-row-not-fullsize-how-to/
-
This reply was modified 6 years, 10 months ago by
-
AuthorPosts