Forum Replies Created
-
AuthorPosts
-
What do you mean by language sensitive footer.
Your are working with polylang to have different languages on your page.You can activate shortcode support of polylang via your functions.php of your child theme
function polylang_shortcode($atts, $content = null) { if (empty($content)) return ''; extract( shortcode_atts( array('lang' => ''), $atts ) ); if (empty($lang)) return "<h3>You must specify 'lang' using shortcode: polylang</h3>"; return ($lang == pll_current_language()) ? $content : ''; } add_shortcode('polylang', 'polylang_shortcode');
from that time on you can edit different languages in Enfold input text fields like:
[polylang lang="en"]Whatever you like here[/polylang][polylang lang="de"]what ever in german[/polylang]
the
[nolink]
is a different shortcode which disable footer notice to kriesi source of the theme.
you see here what i mean –[polylang lang="de"] © Maratone Soundsystem • <a href="http://originalreggae.de/impressum/">Impressum</a> • <a href="http://originalreggae.de/kontakt/">Kontakt</a> • Webseiten Design durch <a href="http://www.gilingo.de">Gilingo</a> [/polylang] [polylang lang="en"] © Maratone Soundsystem • <a href="http://originalreggae.de/imprint/">Imprint</a> • <a href="http://originalreggae.de/contact/">Contact</a> • Website design by <a href="http://www.gilingo.de">Gilingo</a> [/polylang] [nolink]
or all the things which are the same can stay the differences have to be in that shortcodes:
© Maratone Soundsystem • [polylang lang="de"] <a href="http://originalreggae.de/impressum/">Impressum</a> • <a href="http://originalreggae.de/kontakt/">Kontakt</a> • Webseiten Design durch[/polylang][polylang lang="en"]<a href="http://maratone-soundsystem.net/imprint/">Imprint</a> • <a href="http://maratone-soundsystem.net/contact/">Contact</a> • Website design by[/polylang] <a href="http://www.gilingo.de">Gilingo</a>[nolink]
you now better your links – you see now how it works
there must be some caching reasons for it.
maybe it is because of the new “minification” of the assets.
But please wait till mods here guide you with :add_filter('avf_merge_assets', function() { return 'none'; });
aha – but there is still a jump in logo change.
your values should be on avia.js:if(st < el_height/3) and a bit down under that value newH = el_height/1.5;
81/54 = 1.5
81/(81-54) = 81/27 = 3you can see here a very elegant way with svg instead of png – in this case we can work only with one file ( no substitution ) and on header scrolled option some path of the svg goes to opacity zero:
https://webers-testseite.de/cynthia/-
This reply was modified 7 years, 6 months ago by
Guenni007.
on althermo.com your favicon and logo are still on http link.
how did you insert them – via Enfold Theme Options ? Look if there are still entries.
Or have you inserted favicon and logo via functions.php of your child theme – these enties are often forgotton to change.Or
wp supercache has a (supercache) Go to the Wp-Super Cache Content – regenerate Cache Stats and see if there are super-cached sites.
if you press here empty cache the super cache will be erased too.
After that empty cache of the browsers again !here you can see the youtube api parameters:
https://developers.google.com/youtube/player_parameters/#Parameters
there is only the ecver=2 option missing which disables the links on pause the video – but does not work on modestbranding is disabled ( only one can be disabled ) and i guess the advertising in pause mode is worseput in that fields not the video alb element but a nice screenshot of a scene with image alb element.
You than can set the image link to a custom link. Add you link in it and after the video link ad &iframe=true
if it is the first option (or the only one ) it is ?iframe=true
f.e.
https://www.youtube.com/watch?v=qqXi8WmQ_WM?iframe=true&autoplay=1&ecver=2&rel=0
or paste this f.e. as a button link
https://www.youtube.com/watch?v=w4b3T93SZQg?autoplay=1&ecver=2&showinfo=0&loop=1&rel=0&iframe=true
seems that boardsoft changes & to & with ; so the last options do not work – but iframe works here too
by the way – if it does not work here – it is because the video has an age rating
-
This reply was modified 7 years, 6 months ago by
Guenni007.
btw: if you want to have more line-height:
padding and line-height must have the same value
background-size : width 100% and double line-height comes to height here ( 2em, 2em – 4em)
if you want 3em line-height you have to have 3em padding (important is top -bottom value) and background-size: 100% 6em
you see here the code concerning to pre background:
pre { clear: both; border-style: solid; border-width: 1px; overflow: auto; padding: 2em; line-height: 2em; font-size: 12px; background-image: -webkit-linear-gradient(rgba(0, 0, 0, .05) 50%, transparent 50%, transparent); background-image: -moz-linear-gradient(rgba(0, 0, 0, .05) 50%, transparent 50%, transparent); background-image: linear-gradient(rgba(0, 0, 0, .05) 50%, transparent 50%, transparent); background-size: 100% 4em; font-family: Monaco, "Andale Mono", "Courier New", Courier, monospace; -webkit-transition: all ease-in-out 0.5s; -moz-transition: all ease-in-out 0.5s; transition: all ease-in-out 0.5s; margin-bottom: 30px; position: relative; left: 0; text-transform: none; width: 100%; }
it is here which rules the background – try this:
pre { background-image: -webkit-linear-gradient(rgba(0, 0, 0, .2) 50%, transparent 50%, transparent); background-image: -moz-linear-gradient(rgba(0, 0, 0, .2) 50%, transparent 50%, transparent); background-image: linear-gradient(rgba(0, 0, 0, .2) 50%, transparent 50%, transparent); }
you see 50% are light gray – 50% are transparent
this is no link – it is a screenshot – where do i get the code info about that.
Please a link would be nice
and by the way – on enfold every menu link got an underline ? strange behavior.hm a few days ago and on enfold 4.2.6. it is now on 4754 under
_startSlideshow: function()
wow nice tip.
or have we to change here the workaround vice versa too – on clicking the buttons manually
// public method: shows next image next : function(e) { e.preventDefault(); this._stopSlideshow(); this._navigate( 'next' ); }, // public method: shows previous image previous : function(e) { e.preventDefault(); this._stopSlideshow(); this._navigate( 'prev' ); },
a link would be nice to really understand the issue.
But i think i know what you mean:.avia-menu-fx { background-color: blue !important; }
color could be hex-code, rgb, rgba hsl etc. pp
by the way on some of the color-sections there are background images of kriesi demo still in there – not visible – because the http://test.kriesi.at website does not exist anymore – (f.e. : the image is now on: https://kriesi.at/themes/enfold-health-coach/files/2016/05/food-bg-3.jpg) but it hampers to be prooved as https konform
and the forgotton “transparent options logo” does it too ( there might be still the link to the http link)third comment: https://kriesi.at/documentation/enfold/change-the-footer-text-and-link/
get rid of backlink to kriesi-
This reply was modified 7 years, 6 months ago by
Guenni007.
you have choosen for the landing page a transparent header (glassy is equal to it)
the alternate logo for those pages with transparent header you find at Enfold Options – Header – Transparency Options.are you realy shure it is a br ?
The auto p function of wordpress is sometimes the reason for having “blank lines”you can deactivate it generally in functions.php of your child-theme:
remove_filter( 'the_content', 'wpautop' ); remove_filter( 'the_excerpt', 'wpautop' );
or you goto enfold shortcodes: textblock.php
and find:$params['innerHtml'] = "<div class='avia_textblock avia_textblock_style' data-update_with='content'>".stripslashes(wpautop(trim(html_entity_decode( $params['content']) )))."</div>";
and replace it with:
$params['innerHtml'] = "<div class='avia_textblock avia_textblock_style' data-update_with='content'>".stripslashes(trim(html_entity_decode( $params['content']) ))."</div>";
on new Enfold it is on line 206
i think this could help you – because footer and socket does have the same possibility on Enfold Options to have a custom uploaded Image as background. The rest will be tranfer.
https://kriesi.at/support/topic/sockel-foto/
btw : can not open your page due to security warnings.
i think it is solve – he entered the code given here .
Thanks for response ! ;)thats why i first give the advice:
i see you are using on that site wp-super cache – did you empty your cache on that – because i havn’t that error message on my end here.
so good that it has been solved without the db method – but if it stayes a problem on chrome this might be the only possibility to get rid of that troubles. ( on former times this had to be done via mysql – that was horrible – but with that plugin you can first save the db as sql file and thant run a test run to see if the database shows some http links)
April 6, 2018 at 2:13 pm in reply to: SVG links: is there a way to make them function within an Image media element? #938263so i downloaded your svg file and have to beautify it first to see the code a bit more readable.
the header of the svg is not quite standard.placing a xlink on a path would cause xml errors.
you can see the code on the link yourself.:
https://webers-testseite.de/asdfgadfg/
btw: i inserted a link on that little light bulb at the left (pointer will change to hand)
here is the way i made it :
you can define for each path a link (and a title) or group some path<a xlink:href="https://guenterweber.com" xlink:title="here it goes to my homepage" target="_blank"> <path d="M141.365 83.566c-6.127 0-11.09-5.764-11.09-12.872 0-7.109 4.963-12.872 11.09-12.872 6.125 0 11.09 5.763 11.09 12.872 0 7.108-4.965 12.872-11.09 12.872" fill="#9eb4ca"/> <path d="M158.934 53.806l-.111-.144-1.631-2.907c-2.096 2.157-5.11 3.515-8.465 3.515h-4.477v-2.288c0-.371-.316-.686-.761-.816l1.004-9.84-3.127-2.003-3.127 2.004 1.004 9.839c-.45.13-.764.445-.764.816v2.273l.002.015H134c-3.354 0-6.37-1.358-8.467-3.513l-1.54 2.744-.203.305c-2.86 3.729-4.566 11.074-4.566 16.022 0 12.208 9.93 22.143 22.139 22.143 12.21 0 22.144-9.935 22.144-22.143 0-4.948-1.713-12.293-4.574-16.022m-17.57 43.274c-15.026 0-27.252-12.222-27.252-27.252 0-5.804 1.894-14.143 5.51-18.98L130.3 31.82h22.13l10.675 19.028c3.619 4.837 5.512 13.176 5.512 18.98 0 15.03-12.225 27.252-27.252 27.252m10.041-68.474h-20.082a3.023 3.023 0 1 1 0-6.044h20.082a3.022 3.022 0 0 1 0 6.044m-21.465-11.81c0-4.645 5.121-8.407 11.436-8.407 6.318 0 11.437 3.762 11.437 8.407v2.644h-22.873z" fill="#9eb4ca"/> </a>
for having cursor pointer – even on chrome you had to put in quick css:
path { pointer-events: all !important } a path:hover { cursor: pointer }
April 6, 2018 at 1:36 pm in reply to: SVG links: is there a way to make them function within an Image media element? #938255but now to your svg –
i only see normal links to clip-path not one xlink in it.
the<g clip-path="url(#a)" …
is something totaly differentApril 6, 2018 at 11:53 am in reply to: SVG links: is there a way to make them function within an Image media element? #938223sorry – i should start to implement to the svg width and height.
without there is a need to make it via css. Now it should be seen on all browsers –
but i don’t know why css filter : drop-shadow does not work on chrome nor safari – allthough i setup a -webkit- rule
the fill rule works on hovering ?i see you are using on that site wp-super cache – did you empty your cache on that – because i havn’t that error message on my end here.
by the way – on DSGVO is comming soon – a lot of my customers switched to https (TLS) too.
On all those sites i do control / manage it the normal way – but after switching i use the plugin : search & replace.
it is a mighty tool to search and replace things in the database.
so you can have a search for example:
http://www.geoclima and replace it with
https://www.geoclimaby the way – they have a testrun on that to see how many entries are to be replaced.
(be carefull – a search for http and replace with https is not a good advice)i have only one image on a different site which seems to be loaded from a different site: disegno.jpg from http://www.gmrizzi.it
but the rest seems to be o.k.you got it here : https://www.geoclima.com/wp-content/uploads/2013/05/disegno.jpg but sometimes it tries to load via an old site
guess you have to look into the layerslider backgroundsok ! but now you have to make all of the manual setted “points” in the page to unordered lists !
PPS :or
hr { margin: 10px 0 }
if there are 4 values it starts top right bottom left
if there are 3 values it is top (left/right) bottom
if there are 2 values it is (top/bottom) (left/right)
if there is 1 value ( all directions )
same shit different name ( and a few bytes less ;) )and as said before this is the only way to have different colors on list points.
there is no list-style-type-color at all ;)April 5, 2018 at 3:05 pm in reply to: Changing words in Enfold and Events Calendar plugin via .mo/.po is not working #937775And always think of it that german got two po/mo Combinations for Du/Sie ( the formal “Sie” )
! but read this : https://kriesi.at/support/topic/shrinking-of-header-amount-an-info/
there are two values to change ( and only on half size the divisor is 2 on both values !)
hey Josue – nice to hear from you again!
Are you doing well?Edit – oh wow – sometimes i have to look to the posting time . Sorry – Hope he is fine
-
This reply was modified 7 years, 6 months ago by
Guenni007.
April 5, 2018 at 11:10 am in reply to: How to play youtube video full width on going issue / mobile and responsive #937601dear mods – i do not know why the iframe works on this now – the only difference is that here in the iframe surrounded by some divs in the code-block element. Or are there some fixes in the meanwhile since my last posting concerning to this iframe issue ( january 18 )
April 5, 2018 at 9:43 am in reply to: How to play youtube video full width on going issue / mobile and responsive #937567and this is a very usefull tool is: https://developers.google.com/youtube/youtube_player_demo
on the footer you can switch the languages !
on inserting the video-id of your video 5kTP_6qW6IU and click “update player with selected options” the iframe code gets updated.
one thing to mention: the new ecver isn’t embedded on that page and if you choose “no modestbranding” ecver option does not work !Important: press “show player controls” to have full access to all “screws” you can turn
by the way if you want to have only simple separators on text-blocks :
just use<hr>
it does not need a closing tagi see some open divs with no closing tags. – because of use the enfold hr and deleting some entries on edit ( the lines goes through some texts)
if you like to style it a bit see: https://css-tricks.com/examples/hrs/
you can click there on code to see the css for it
f.e.:
hr.style-two { border: 0; height: 1px; background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0)); }
than use
<hr class="style-two">
in your text block (editor mode)April 5, 2018 at 8:47 am in reply to: How to play youtube video full width on going issue / mobile and responsive #937554so get rid of the autoplay=1
<div class="responsive-container"> <iframe class="responsive-iframe" src="https://www.youtube.com/embed/5kTP_6qW6IU?enablejsapi=1&loop=1&rel=0&ecver=2&showinfo=0&color=white&iv_load_policy=3" gesture="media" allow="encrypted-media" allowfullscreen></iframe> </div>
btw. you can setup all css inline via functions.php of your child theme – then you can erase the quick css entries:
function set_container_for_responsive_youtubevideo(){ ?> <script> (function($){ $('.responsive-container').css({ "position": "relative", "overflow": "hidden" , "padding-top": "56.25vw" }); $('.responsive-iframe').css({ "position": "absolute", "top": "0" , "left": "0", "width": "100vw" , "height": "56.25vw" , "border": "0" }); $('.responsive-container').closest('.container').css({ "max-width": "100%", "width": "100%" , "padding": "0px" }); })(jQuery); </script> <?php } add_action('wp_footer', 'set_container_for_responsive_youtubevideo');
you can see here on another test-page that the right css goes to the concerning section – if code-block looks like: https://webers-testseite.de/new-test-with-youtube-video/
<div class="responsive-container"> <iframe class="responsive-iframe" src="https://www.youtube.com/embed/5kTP_6qW6IU?enablejsapi=1&loop=1&rel=0&ecver=2&showinfo=0&color=white&iv_load_policy=3" gesture="media" allow="encrypted-media" allowfullscreen></iframe> </div>
-
This reply was modified 7 years, 6 months ago by
-
AuthorPosts