Forum Replies Created
-
AuthorPosts
-
May 5, 2021 at 7:47 pm in reply to: videos in color section background doesn't play in Iphones #1298683
on your example page – where is there a background video autoplaying ?
Edit: i found on top of work page a background-video:
see source-code: ( click to enlarge )
as a cdn hosted video – it is a kind of self-hosted video. ( not a youtube nor vimeo etc. ) but html5 video.
These videos can be played even inline on mobile devices – with autoplay option.see here on your mobile device: https://webers-webdesign.de/
on my page this was a small video – so i selfhost it.
but with bigger videos – a cdn is very helpful. – til 100mb you might use cloudinary free cdntest it by yourself – insert the video source of that page to your color-section background:
https://cdn.sidlee.com/-/media/sidlee/work/hero_video/web_loop_work.mp4
may i see the site it is concerning?
by the way – if you are not a registered User on gtmetrix the option will always be:
Analysis Options: Testing in Vancouver, Canada using Chrome (Desktop) with an Unthrottled Connection.For me ( on German Hosters ) it is indispensable to test my site with a server near me. Since my customers tend to be local to me and I only very rarely receive orders from Vancouver. ( btw. the nearest to me is London :lol )
The performance Ratings are totaly different on that fact only. F.e. the TTFB is influenced on that.no the point is what i said above: the magnific popup js ( jquery.magnific-popup.min.js ) is not loaded
and there must be a reason for it. Best would be that a mod will look into your installation.definitly this will work too:
function ava_move_meta_after_title(){ ?> <script> (function($){ $('.slide-entry').each(function() { var metaInfo = $(this).find('.slide-meta'); var postTitle = $(this).find('.entry-content-header'); postTitle.insertAfter($(metaInfo)); }); })(jQuery); </script> <?php } add_action('wp_footer', 'ava_move_meta_after_title');
i prefere to write the whole script a $ instead of jQuery – makes some things easier to understand.
try:
function ava_move_meta_after_title(){ ?> <script> (function($){ $('.slide-entry').each(function() { var metaInfo = $(this).find('.slide-meta'); var postTitle = $(this).find('.entry-content-header'); metaInfo.insertBefore($(postTitle)); }); })(jQuery); </script> <?php } add_action('wp_footer', 'ava_move_meta_after_title');
can you post a link to the page it concerns – or if you don’t want to make it public – is there a demo page that shows the issue?
f.e.: https://kriesi.at/themes/enfold-2017/blog/blog-default/no – only header.php has some entries for lightbox use.
do you have a child-theme header.php ?
if the still from an older Enfold, this changed header.php version must be replaced by a current one.
For this you need to know the reason for the child-theme header.php.
In the header.php some lightbox settings are made at the very beginning.you are not using a child-theme – where did you place those snippets ?
or : do you load jQuery in the footer ?
Try to switch that ( Enfold Options: Performance : “Load jQuery in your footer” ) and load it in the headerEdit: no i see you load it in the header …
hm: try to switch off
first merging of js an css on Enfold
second all pluginsthen turn on one after the other – and reload that page – and see what might be the reason for it.
that script is ok – and you changed it to on(‘load’ … that is totally correct here – because former load is now deprecated on jQuery 3.5.1
the magnific popup js ( jquery.magnific-popup.min.js ) is not loaded – maybe a plugin that hampers loading it ?
well i do not see the magnific popup script loading
the css is loaded – but the script itself not.
Did you mark that “Lightbox Modal Window” on theme options?May 4, 2021 at 11:17 pm in reply to: Copyright Edit, Makes Background Image in Footer Disappear #1298381again btw:
you can extend this shortcode by f.e.:function show_date_with_shortcode() { date_default_timezone_set('Europe/Berlin'); setlocale(LC_TIME, 'de_DE.UTF-8'); $uhrzeit = date_i18n( 'l, \d\e\n ' . get_option( 'date_format' ) . ' ' . get_option( 'time_format' ). ' \U\h\r' ); return $uhrzeit ; } add_shortcode( 'show-date', 'show_date_with_shortcode' );
shortcode is then : [show-date]
the get option is concerning to that what you have set on Dashboard – Settings – General : “Date Format” and “Time format”
you see the timezone setting and if there must be binding words the letters had to be escaped
f.e. on german “Uhr” for hour and “den” for the may the fourth be with you :lolsee here in the socket: https://webers-testseite.de/pureinstall/#socket
May 4, 2021 at 10:00 am in reply to: Copyright Edit, Makes Background Image in Footer Disappear #1298233btw: if you put this to your child-theme functions.php:
function year_shortcode() { $year = date('Y'); return $year; } add_shortcode('year', 'year_shortcode');
you can use the current year as shortcode in your content:
[year]
on footer you now can insert:© [year] … whatever you like [nolink]
last shortcode you know is to get rid of backlink : powered by Enfoldi always do updates by this : https://kriesi.at/support/topic/some-hints-and-advice-to-update-enfold/#post-1056107
the rename method this way gives you the opportunity to go back if something went wrong.
The downtime is minimal if something should not work.But it is also true – the less a theme inflates, the faster it runs. ;)
yes that would be ok – if there was no margin between the columns.
but second and third column got a margin-left of 6% – so for your columns in total there are only 88%
so try 22% 22% and 44%or if you can live with less space between the columns:
@media only screen and (min-width: 768px) { #footer .flex_column.av_one_third:nth-child(1) { width: 24%; } #footer .flex_column.av_one_third:nth-child(2) { width: 24%; margin-left:3% } #footer .flex_column.av_one_third:nth-child(3) { width: 46%; margin-left:3% } }
by the way – i posted here: https://kriesi.at/support/topic/how-put-two-functional-arrows-in-the-tab-section/#post-1295725
an updated version vor those arrows left/right.
It will loop – if the last slide is reached – the next click will go to the first slideDa muss was mit deiner Seite nicht gänzlich in Ordnung sein.
Ich bekomme keine reproduzierbaren Seitendarstellungen hin.
Soll bedeuten: Wenn ich in den Browsercache komplett lösche z.B. mittels Tastenkombination in Firefox:- «ctrl + shift + r» (Windows)
- «command + shift + r» (Mac)
dann sieht es mal so auch – mal anders. ( halbe bilder im slider oder in der erwähnten tab-section ; logo mal ganz links dann wieder nicht etc. pp )
Da musst du mal nachforschen woran das liegen könnte._____________________
There must be something wrong with your page.
I can’t get a reproducible page display.
This should mean: If I delete the browser cache completely, e.g. using the key combination in Firefox:- “ctrl + shift + r” (Windows)
- “command + shift + r” (Mac)
then it looks sometimes like this – sometimes different. ( half images in the slider or in the mentioned tab-section ; logo sometimes all the way to the left then again not etc. pp )
You’ll have to investigate what that could be.ok – an sowas fundamentales habe ich nicht gedacht.
Du hast also so viele Kategorien, dass es eine Paginierung hat?May 4, 2021 at 8:22 am in reply to: How to make a color section containing 2 columns full width #1298202for every single cell you can have a background-image – but the whole grid-row element doesn’t have that feature.
( on options dialogs ) on quick css you can set this aswell.May 3, 2021 at 11:57 pm in reply to: How to make a color section containing 2 columns full width #1298099Well first of all – i do not see in your css the code from above!
However, with a look at your page now, I would have recommended using the grid row element anyway.
It provides the required properties from the start, but does not offer a background image for the entire element per se, which is not necessary in your case.Nevertheless – my code from above will work, if it exists. Of course, it could be that you have activated file merging and have not refreshed these merged files after adding the new css codes.
May 3, 2021 at 7:25 pm in reply to: How to make a color section containing 2 columns full width #1298081On the alb options of your columns – you had to choose “no space between columns”
Then on quick css:#top #fullwidthsection .container { max-width: 100%; width: 100%; padding: 0; }
see here: https://webers-testseite.de/color-section-full-width-container/
if it is important for you that on responsive case the columns are without space and the full-width is still there:
@media only screen and (max-width: 767px) { .responsive #top #wrap_all #fullwidthsection .container { width: 100%; max-width: 100%; } .responsive #top #wrap_all #fullwidthsection .container .flex_column { margin-bottom: 0 } }
a similar thing happens on scroll down -see solution here:
https://kriesi.at/support/topic/a-flash-in-the-header-on-small-screens/for the slider …
.avia-slideshow-dots a { height: 25px; width: 25px; border-radius: 50%; margin: 0 5px; padding: 5px; }
for the tab section:
#top .av-tab-section-icon:before { font-size: 90px !important; }
May 2, 2021 at 7:24 pm in reply to: How to make a color section containing 2 columns full width #1297803set the max-width and width to 100%
ich habe das eben an dem neuesten Enfold getestet. Bei mir geht das
Wenn ich dann in die Kategorien wechsle danach, erscheint folgende Warnung ( da meine Testumgebung in Englisch ist ):
meine Befürchtung war das auch die Items – also die Einzelbeiträge in der Kategorie gelöscht sind- erwies sich als nicht richtig.
Diese Beiträge bekamen dann die Standard Kategorie zugeteilt.April 30, 2021 at 12:26 pm in reply to: Anpassung der Galeriespalten für mobiles // Adaptation of the gallery columns fo #1297529Du spricht oben ja explizit von 8 columns ( von einer neunten war nicht die Rede )
Bei 8 columns: 100/8= 12.5
Bei 9 columns: ? (100/9 ≅ 11.1 )ausserdem recht deutlich – wenn du den Umbruch lieber linksbündig haben möchtest …
https://kriesi.at/support/topic/anpassung-der-galeriespalten-fur-mobiles-adaptation-of-the-gallery-columns-fo/#post-1297391nicht space-evenly ( space-around, space-between) sondern flex-start.
Ich habe es jetzt mal auf der Testseite umgestellt auf flex-start.
siehe 4/4/1 Situation.Selber Lesen macht klug – hier ein informativer Link dazu
https://css-tricks.com/snippets/css/a-guide-to-flexbox/April 29, 2021 at 3:42 pm in reply to: Anpassung der Galeriespalten für mobiles // Adaptation of the gallery columns fo #1297391see here a demo with code : https://webers-testseite.de/gallery-with-8-images/
if you like to have those images on the left side on break ( see 3/3/2 )
change that rule to:.flexed-gallery .avia-gallery-thumb { display: flex !important; flex-flow: row wrap; justify-content: flex-start; }
maybe this could be an informative topic: https://kriesi.at/support/topic/beitragsbild-eines-blogbeitrags-automatisch-anzeigen/#post-1202606
this little Snippet enables you to set even on alb based portfolios/posts the featured image if meta-box is set to : “show on single entry”:
function avf_template_builder_content_postimage_mod($content = ""){ if(is_singular('post') && ( '1' != get_post_meta( get_the_ID(), '_avia_hide_featured_image', true ) ) || is_singular('portfolio') && ( '1' != get_post_meta( get_the_ID(), '_avia_hide_featured_image', true ) ) ) { $featuredImage = get_the_post_thumbnail( $the_id, 'entry_with_sidebar' ); $content = '<div class="post-image">' .$featuredImage. '</div>' . $content ; } return $content; } add_filter('avf_template_builder_content', 'avf_template_builder_content_postimage_mod', 10, 1);
on that line:
$featuredImage = get_the_post_thumbnail( $the_id, 'entry_with_sidebar' );
you decide what dimension the source of the image has ( entry_with_sidebar ) is 845×321 -
AuthorPosts