Forum Replies Created
-
AuthorPosts
-
as a participant I can’t see your links listed in the private window; I would also try with background images, but inherit them into a pseudo container, and then execute the hover styles with it. This has the advantage that the foreground content is not affected.
With parallax backgrounds I think you have an extra container anyway.by the way – the pseudo container is a good solution to hamper the behavior on safari browsers with attachment fixed.
see here: https://webers-testseite.de/jb84/
- This reply was modified 1 year, 1 month ago by Guenni007.
October 13, 2023 at 8:51 am in reply to: Warum sehe ich in meinem theme den Datei Edior nicht? #1422351hast du ein Sicherheitsplugin installiert? Sowas wie “iThemes Security” – dort gibt es diese Option ( unter WordPress Optimierungen ) es ein/ab zuschalten.
Etliche Security Tools haben diese Option.October 12, 2023 at 2:11 pm in reply to: Warum sehe ich in meinem theme den Datei Edior nicht? #1422233Einige Sicherheitsplugins unterbinden gerne den Theme-Datei Editor. Meist geschieht dies z.B. via wp-config.php Eintrag.
einer dieser beiden oder sogar beide könnten Einfluss nehmen:
define( 'DISALLOW_FILE_EDIT', true ); define( 'DISALLOW_FILE_MODS', true );
löschen oder auf false setzen
So – it seems to work with the attribute of Ismael, just not when you insert it there afterwards via script.
It must be hardcoded in the class-form-generator.php ;)the attribute readonly works even if you add it via script.
have you a link to the dottie file your are talking about to check if it is not a matter of that file.
Today i do not see the errors concerning to FA. And believe me – I have to use the Developer Tools very intensively to investigate your site; but today this error message is no longer present.
It is not part of enfold. Did. You Upload it yourself?
after one cycle the transition is without this “blinking” – so probably Ismael is right – after loading the images of the first cycle everything is fine.
try that instead:
function remove_text_input_mode_on_datepicker(){ ?> <script type = "text/javascript"> window.addEventListener("DOMContentLoaded", function () { (function($){ $('.avia_datepicker').each(function() { $(this).attr('readonly','readonly'); }); })(jQuery); }); </script> <?php } add_action( 'wp_footer', 'remove_text_input_mode_on_datepicker', 20 );
but i tested ismaels code – and it does not even add the attribute.
On reading a lot of articles – the only thing that works is to add this attribute:
function remove_text_input_mode_on_datepicker(){ ?> <script type = "text/javascript"> window.addEventListener("DOMContentLoaded", function () { (function($){ $('.avia_datepicker').each(function() { $(this).attr('readonly','readonly'); }); })(jQuery); }); </script> <?php } add_action( 'wp_footer', 'remove_text_input_mode_on_datepicker', 20 );
PS:
https://kriesi.at/support/topic/date-picker-form-issue-mobile/#post-1422097if you need it now – you can have here a solution from ismael:
https://kriesi.at/support/topic/date-picker-form-issue-mobile/#post-1419995Yes – Mikes way to update is the way i prefer too! – if the versions are not so distant to each other. That is a big jump from 4.8 to 5.6
To have a rollback to this older version, I would use the following update procedure.
https://kriesi.at/support/topic/some-hints-and-advice-to-update-enfold/#post-1056107i can not confirm this. Even on a iPad Mini 3 (iOS 12.5.7) it works!
Only annoying thing is that the keyboard opens on that to input – but this is allready in the next update fix ( 5.6.7):tweak: added inputmode=”none” to datepicker in contact forms to hide default mobile keyboard
next hint: if you open a page on a device with touch screen options : you will have on html a class: touch-device
so if you like to style those devices with touch – you can use that btw. if you use it as :.responsive:not(.touch-device)
you can set stylings for non touch devices.
PS: denke aber auch daran, das selektoren nur dann wirksam sind, wenn die Spezifität höher als die existierend Regel ist – siehe z.B.
https://kulturbanause.de/blog/css-spezifitat/du siehst, das ID’s mit 100 Punkten und Klassen nur mit 10 Punkten.
man sollte nicht allzuhäufig zu der Nutzung des !important übergehen. Oft reicht es wenn die neue CSS Regel einige ID’s beinhaltet.
wie die ID am body tag: #topthat is why i have added the comment in the css code-
/****** hover Verhalten abschalten für den responsiven Fall ********/ /****** bei Querformat iPad Pro 12,9inch = 1367px / bei iPad Pro 11inch = 1195px ********/ /****** bei Querformat iPad 10,2inch = 1081px / etc. pp ********/
your tablet has: 1080px width in landscape mode
so replace that line:
@media only screen and (max-width: 989px) {
to:
@media only screen and (max-width: 1081px) {
because you want that it will work on 1080px___________________
What do you think will happen if you don’t put all your CSS in a media query?
So you don’t put the 1080px limit there?
Then I think it will apply everywhere – for all screen widths ;)
(remember to remove the last bracket if you want to do it that way).@media only screen and (max-width: 1081px) { /***** the codes inside the media query ****/ } /**** the closing bracket *****/
by the way: you should replace your font-awesome icon fonts with newer ones – the woff2 are missing and lead to error logs on console.
can you please try this in you quick css:
( all here with your custom-class – if you want that globaly – ask).referenzen .grid-content a { pointer-events: auto; } .referenzen .grid-content:hover { opacity: 1; transform: translate(-50%,-50%); transition: 1s all ease; } .referenzen .grid-image .image-overlay { z-index: 0 !important; display: none !important; }
and this to your child-theme functions.php:
(and because this should only affect portfolio grids that are set to lightbox, here is the selector with grid-links-lightbox class.)function open_non_lightbox_links_in_portfolio_grid(){ ?> <script type = "text/javascript"> window.addEventListener("DOMContentLoaded", function () { (function($){ $('.grid-links-lightbox .grid-entry a:not([href^="#"])').on('click', function(e){ e.preventDefault(); var externalLink = $(this).attr('href'); window.open(externalLink, '_blank'); }); })(jQuery); }); </script> <?php } add_action( 'wp_footer', 'open_non_lightbox_links_in_portfolio_grid' );
you see what the code does?
you have set the portfolio grid to open all links in a light box.
But your e-mail or links to external Links are not from the type: href=”#…” – the attribute selector above excludes these links to popups – and only prevents the function of the lightbox script where the links do not start with a hash (#).PS: if you like to open those links not in an additonal window replace _blank with _self
now i see – sorry – this is a portfolio grid – and you changed the grid-content to an overlay via custom css
you would have to hamper the Lightbox link of the inside link like this:
(function($){ $('.grid-content a').on('click', function(e){ e.preventDefault(); var inlineLink = $(this).attr('href'); window.open(inlineLink, '_blank'); }); })(jQuery);
so it has the chance to open a normal link. we will see later on how to solve the link over background link problem
this is always a problem – to have a clickable link over a clickable background-image.
and especially for that case – because the hover effect is correlatet to the link of the background.
If you now hover a link inside that container – the hover focus is lost.you can see what i mean if you use:
.referenzen .grid-content a { pointer-events: auto; }
but your link there is not clickable anyway – because
we have here multiple issues – you declared the links inside to lightbox links ( inline popup ) so – both links in your last container are no popup – external page links ( and if lightbox – they had to be iframe popups)yes – checked now and see comment above – i had to go an look if that filter is still present
if you do not like to strip the excerpts try in child-theme functions.php :
function my_avf_masonry_loop_entry_content($loop_excerpt, $entry) { $loop_excerpt = $entry->post_excerpt; return $loop_excerpt; } add_filter('avf_masonry_loop_entry_content', 'my_avf_masonry_loop_entry_content', 10, 2);
but i do not know if the “wordpress” excerpts are included by that. The Enfold Excerpts are influenced by that snippet
Edit : tested – but it does not work anymore – i had to inspect the loop
I had also presumed by mistake that it was only defined for mobile devices by default in enfold theme. The hovering effect is obviously difficult to achieve.
Since he wrote about tablets in the introductory text above, I was stuck on this track. – Actually, it should have worked that way on the devices themselves.
Oddly enough, however, a combined solution seems to be defined there by default. Because on my iPad Pro, there was indeed no effect to be observed from the CSS ( with avia_mobile ) code.
So now I’m implementing the Media Query only. Give it a try.Also tausche nur den eingesetzten css Code im Quick Css aus gegen:
(ändere je nach Bedarf diese Grenze 989px aus unter der das gelten soll)/**** Farbdefinitionen überall ****/ #top .av-masonry.description-below .av-inner-masonry-content, #top .av-masonry.description-below .av-inner-masonry-content .avia-arrow { background-color: #cde5a5; } /****** hover Verhalten abschalten für den responsiven Fall ********/ /****** bei Querformat iPad Pro 12,9inch = 1367px / bei iPad Pro 11inch = 1195px ********/ /****** bei Querformat iPad 10,2inch = 1081px / etc. pp ********/ @media only screen and (max-width: 989px) { .responsive #top .av-masonry.description-below .av-inner-masonry-content { position: relative !important; top: 100%; opacity: 1 !important; animation: none !important; transform: none !important; } .responsive #top .av-masonry.description-below .av-inner-masonry { overflow: visible; } .responsive #top .av-masonry.description-below a.av-masonry-entry { margin-bottom: 60px !important; } .responsive #top .av-masonry.description-below .av-inner-masonry-content { padding: 5px 10px; text-align: center; min-height: 65px } .responsive #top .av-masonry.description-below .av-inner-masonry-content .av-masonry-entry-title { position: absolute; top: 50%; left: 50%; transform: translate(-50% , -50%); padding: 0 !important; margin: 0 !important; width: 100%; font-size: 18px !important; } }
siehe hier mal : https://webers-testseite.de/gallery/
PS: die Seite nutzte ich schon einmal als testseite, daher liegt da noch ein anderer hoverstyle zu grunde. Farben etc. – ist aber für dein hover state Aspect nicht relevant.here you can see a live screenshot even on my ipad mini 3 ( iOS 12.5.7):
if it works there then the newer iOS will do it too!
Edit:
ABER – du hast recht – ich muss hineinschauen, ob es nicht doch von der Screenweite abhängig gesetzt ist in Enfold.
Denn auf meinem iPad Pro wird es noch mit dem Hover Anfangsstyle gezeigtAuf iPhones sollte es aber so auch schon funktionieren.
But – please, this only replaces the behaviour on mobile devices. This happens when the descriptions are permanently displayed because the hover effect cannot be effective. So that these overlays do not cover a main part of the image, they are moved here below the images.
If you also want to use it on the desktop with small screen widths, we have to remove the class avia_mobile from the code and put the whole thing in a media query, e.g. only up to 767px.
i guess that this is not the solution – that was a suggestion – but he said that this does not solve the problem.
i can not test it because the only device with iOS 12.5.7 is my ipad mini 3 – and the testpage is even in portrait mode with normal menu.PS: on iphone you had to erase the device cache via Settings – Safari – Clear History and Website Data
For those masonries – on ipad and bigger tablets it might be nice to position the caption ( that is on mobile always visible ) beneath the image – and not as overlay style.
Maybe it is best to give a custom class to that masonry – to always use that setting on demand.
f.e. description-below
and: because it is only wanted on mobile devices ( with no hover )#top .av-masonry.description-below .av-inner-masonry-content, #top .av-masonry.description-below .av-inner-masonry-content .avia-arrow { background-color: #cde5a5; } .responsive.avia_mobile #top .av-masonry.description-below .av-inner-masonry-content { position: relative !important; top: 100%; } .responsive.avia_mobile #top .av-masonry.description-below .av-inner-masonry { overflow: visible; } .responsive.avia_mobile #top .av-masonry.description-below a.av-masonry-entry { margin-bottom: 60px !important; } .responsive.avia_mobile #top .av-masonry.description-below .av-inner-masonry-content { padding: 5px 10px; text-align: center; min-height: 65px } .responsive.avia_mobile #top .av-masonry.description-below .av-inner-masonry-content .av-masonry-entry-title { position: absolute; top: 50%; left: 50%; transform: translate(-50% , -50%); padding: 0 !important; margin: 0 !important; width: 100%; font-size: 18px !important; }
-
AuthorPosts