Forum Replies Created
-
AuthorPosts
-
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 7 years, 5 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 7 years, 5 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 7 years, 5 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 7 years, 5 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/
on the right side of that test page there is a code-block in a container.
The codeblock has no checkmark at all and the content is:<div> <iframe width="720" height="405" src="https://www.youtube.com/embed/QQaGgPVLM88?enablejsapi=1&loop=1&rel=0&ecver=2&showinfo=0&color=white&iv_load_policy=3" gesture="media" allow="encrypted-media" allowfullscreen></iframe> </div>
and you see on pause the video there are no overlays at all ( that is the ecver=2 option)
so this is your url on youtube:
https://www.youtube.com/watch?v=QQaGgPVLM88
the first option to set must have a Questionmark
?rel=0
every following option gets an ampersand &the ecver=2 is to have not on pause the related videos too ! so try to add following options
if you don’t like the autoplay – get rid of ithttps://www.youtube.com/watch?v=QQaGgPVLM88?autoplay=1&ecver=2&showinfo=0&loop=1&rel=0
https://www.youtube.com/watch?v=QQaGgPVLM88?autoplay=1&ecver=2&showinfo=0&loop=1&rel=0
the video alb does not accept those links
–
but an image with that manually added link does the trick – you only have to add the
&iframe=true
https://www.youtube.com/watch?v=QQaGgPVLM88?autoplay=1&ecver=2&showinfo=0&loop=1&rel=0&iframe=true
by the way – boardsoft changes ever ampersand & to a different sign – so it does not work here on click
but see and click the image on the left:
https://webers-testseite.de/videos-on-lightbox/for your special interest and following: https://kriesi.at/support/topic/how-to-play-youtube-video-full-width-on-going-issue-mobile-and-responsive/#post-937554
not to fix the page – but to fix the lightbox with its image.
.mfp-wrap { position: fixed !important }
but look if this works on mobile too – because fixed positioning can be ugly
than use insteadhtml:not(.avia_mobile) .mfp-wrap { position: fixed !important }
to your questions from:
https://kriesi.at/support/topic/logo-not-sharp-enough-on-my-website/#post-940054Enfold does not have that element –
this is a masonry with perfect grid and show Titel and Excerpt on hovering: https://webers-testseite.de/categories/Give the rule an important:
@media only screen and (max-width: 767px) { .responsive .logo { display: block !important ; } .logo img { height: 161% !important; max-height: 129px !important; } }
and go to the first color-section and look to its options where you insert the images.
A bit under the input field of Background Repeat setup as “stretch to fit — cover the element”
and see if this isn’t better .-
This reply was modified 7 years, 5 months ago by
Guenni007.
tomorrow will be more time.
but please do the adjustments first – its not perfect now https://kriesi.at/support/topic/logo-not-sharp-enough-on-my-website/#post-940043to your menu – the font is very big 30px is suitable for people with a visual impairment ;)
i think 24px will be more than necessary:#top #header .av-main-nav > li > a { font-size: 24px; }
see above the total code – maybe your a bit mixed up .
on resposive case ( smaller screens than 768px) the header height is set from enfold to 80px not your given (88px) so the values must be adjusted.
by the way your background image is not set to cover the place. so there are sometimes white borders
but what did happen to your page now – there is a
Coming Soon!
In sha AllahNo facebook – i’m a privacy person ;)
Edit : aha a new link
but change the values
to the new adjusted for you values above !here is it in total:
#header_main { border-bottom: none; box-shadow: 0 8px 5px -5px #999; } .responsive .logo { display: block; } .logo, .logo a { overflow: visible; } .logo img { height: 161% !important; max-height: 142px !important; } @media only screen and (max-width: 767px) { .responsive .logo { display: block ; } .logo img { height: 161% !important; max-height: 129px !important; } }
-
This reply was modified 7 years, 5 months ago by
Guenni007.
by the way there is a possibility to not shrink to the half but f.e to 60%
-
This reply was modified 7 years, 5 months ago by
-
AuthorPosts