Forum Replies Created
-
AuthorPosts
-
well – it seems that it is an effect caused by having a transparent header on wide screens and the change from opacity 0 to 1 and viceversa on header_bg.
there are two classes set or removed av_header_transparency and header-scrolled ( header-scrolled-full ) at the same time.
If you give to the header_bg a background-color to the given needs ( in my case it is white ) the opacity change will not be seen.
in my case the rule :@media only screen and (max-width: 768px) { .responsive #top .header_bg { background-color: #fff !important; opacity: 1 !important; } }
solves the problem – and on that enfold-demo page it will do the trick too: https://kriesi.at/themes/enfold-2017/
It seems not to happen that conflict when we have a non-sticky header on wide screens.
Can be closed.by the way there should be no space between the hex color definition and hash !
#fdd02c – then it has to work like thator try in a combination of enfold class and input:
.main_color ::-webkit-input-placeholder { /* Chrome/Opera/Safari */ color: #fdd02c; font-size: 12px } .main_color ::-moz-placeholder { /* Firefox 19+ */ color: #fdd02c; font-size: 12px } .main_color :-ms-input-placeholder { /* IE 10+ */ color: #fdd02c; font-size: 12px } .main_color :-moz-placeholder { /* Firefox 18- */ color: #fdd02c; font-size: 12px } .main_color ::placeholder { color: #fdd02c; font-size: 12px }
-
This reply was modified 6 years, 7 months ago by
Guenni007.
well you can activate the shortcode function on polylang via child-theme functions.php
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');
after activation you can use it like:
[polylang lang="en"]English[/polylang][polylang lang="de"]Deutsch[/polylang]
on WPML i got as many Enfold Options as i got languages – so that was a bit more confusing but easier to style.
With Polylang you can now insert in the Cookie Consent Message input field the messages as mentioned above:
f.e:[polylang lang="en"]This site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies.[/polylang][polylang lang="de"]Diese Webseite verwendet Cookies. Durch das weitere Verwenden der Webseite erklären Sie sich mit der Nutzung von Cookies einverstanden.[/polylang]
Yes in German it is Blocksatz and in english spoken regions this is called justification.
But see link above to see hyphenator effect.
The hyphenator fields the algorithm known from OpenOffice and LaTeX. And that was under my opinion one of the best hyphenation allgorithmgive to that textblock a custom class ( f.e. just ) and add this to quick css:
.just { text-align: justify }
but sometimes it might be a good idea to have a better hyphenation algorithm. In this case i do use that plugin: hyphenator
it adds so-called “soft-hyphens” to the words so that they can spell-wrap correctly according to the respective language.You can see here a result of that effect on small columns – left only with justify content – right side with justify and hyphenator
https://webers-testseite.de/pages-2/-
This reply was modified 6 years, 7 months ago by
Guenni007.
March 3, 2019 at 9:07 am in reply to: custom header widget left, logo center, custom header widget right #1073860maybe a look to that nice documentation could help you:
https://kriesi.at/documentation/enfold/example-of-widget-left-logo-center-widget-right-menu-below/March 3, 2019 at 9:00 am in reply to: Color section not fullwidth (also all text on blog is centered?) #1073856unfortunately this is one of the irrefutable truths that color-sections are always full-width.
what kind of demo you have used?
Guess the construction demo – look to that demo where these images are used. And open those concerning containers to delete these entries.
It must be your second color-section with those 1/3 columns – because no images are seen on the alb elment they could be overseen but move slowly with your mouse over that 1/3 column. You will see that there are image alb elements on top of the columns. (right over those headings like “HV & LV Installations”)or if you like to use it – download them here and upload it to your media library:
https://kriesi.at/themes/enfold-construction/wp-content/uploads/sites/52/2015/10/scale-ruler-on-blueprints.jpg https://kriesi.at/themes/enfold-construction/wp-content/uploads/sites/52/2015/10/construction-site-machines.jpg https://kriesi.at/themes/enfold-construction/wp-content/uploads/sites/52/2015/10/cropped-hand-of-a-carpenter.jpg
replace then these images with your media urls.
March 3, 2019 at 8:29 am in reply to: Former customer utilizing the theme without purchasing it #1073845If you have agreed this contractually, you can sue him for injunction.
However, I would prefer to outsource the problem to Envato. Report that your “customer” is misusing the topic and is using copies of the topic elsewhere.March 2, 2019 at 12:06 pm in reply to: Enfold shortcode not rendering with The Event Calendar plugin #1073583Would be nice to hear something about the fix. Or is the next update coming soon?
Please keep in mind, however, that there are also simple technical terms where it makes no sense to produce a translation. These are quasi signal words that you look for and then don’t find. So in German “cover” and “contain” have been translated in the picture backgrounds. I am glad that nobody had the idea to translate “Masonry” into “Mauerwerk”.
Because that doesn’t help any one – at least with css creation of a rule. Because there English is the language of choice. Something like that:
“hintergrund-größe: strecken” doesn’t help then. “background-size: cover” already.
So I wouldn’t want to know translated terms that have a direct relation to css as well.
There are further examples
featured image slider for : “Bildwechsler für hervorgehobene Bilder ” that means : image changer for highlighted imagesFebruary 26, 2019 at 1:57 pm in reply to: if you click Masonry Gallery it should Open in New Tab #1071769This function was simply ingenious, unfortunately this is a thing of the past and will probably no longer be supported properly in future browsers.
The whole thing has probably been replaced by the MutationObserver method. I haven’t done it yet – at least not in a way that I know how to use it in combination with e.g. jQuery to insert the href attribute.
Maybe one of the developers could give us some advice.February 25, 2019 at 9:26 pm in reply to: if you click Masonry Gallery it should Open in New Tab #1071472The thing is that these elements are created after the DOM has been loaded. So we had to have a “Listener” when there was a Change on the DOM.
I knew that former function – and i know that this is a deprected one- but the function still seems to works in all browsersMaybe someone ( more competent than I am ) could tell us to do it with MutationObserver – This seems to be the modern variant of listening to DOM.
function masonry_newtab(){ ?> <script> (function($){ $(document).ready(function($){ $('body').on('DOMNodeInserted', function(){ $('.av-masonry-container a').attr('target', '_blank'); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'masonry_newtab');
try this in functions.php of your child-theme instead the old ruleIt would be nice to know if filters are renamed or replaced by other ones – maybe in the changelog of a new version!
the new : avf_available_google_fonts – i just recognized it on some pages where the content font does not work like before
February 24, 2019 at 8:14 am in reply to: Any issues with WordPress 5.1 update and Enfold 4.5.4? #1070839https://kriesi.at/support/topic/some-hints-and-advice-to-update-enfold/#post-1056107
always the savest method to do this.
it would be nice to hear from that – f.e. in the changelog. Because these hooks are often the starting point for changes via the child theme functions.php.
And in Dokumentation to have an actual Set of hooks and filters. LinkDa musst du dann auf die Mods hier warten, da ich deinen Link ( wahrscheinlich im private content ) nicht sehe kann ich da schlecht Tips zu geben.
i try to edit the xml file but all but one is good working.
I could not find the settings for the blog page to edit in the right manner.
so dear mods it is time to prepare the old xml files to the new https sources.February 21, 2019 at 9:55 pm in reply to: Lightbox / How can I change the background-colour? #1070111i think it is set by:
on default it is black and opacity of 0.8.mfp-zoom-in.mfp-ready.mfp-bg { opacity: 1; background-color: #900; }
btw. the size of the lightbox is defined over max-width:
.mfp-iframe-holder .mfp-content { max-width: 80vw !important; }
-
This reply was modified 6 years, 8 months ago by
Guenni007.
just wait
to the dev and mods: this would happen again and again with the older demo files.
i would recomend you to go over the demo xml files to correct those links to the new servers?to have the kriesi links in your installation ( but you have to replace it later to your own copies or new images) you can do this:
what you can do now:
install this nice plugin: https://wordpress.org/plugins/search-and-replace/The thing is that on the old demo the links are on http places. But it seems that the base url is always the same
So after installing that plugin.- Open it via dashboard – tools – search and replace
- save your Database first – create sql file
- then go to tab: search & replace
- put in the field search for:
http://test.kriesi.at/new-spa/wp-content/uploads/sites/11/2015
- put in the field replace with:
https://kriesi.at/themes/enfold-spa/wp-content/uploads/sites/56/2015
- mark all tables and “do search and replace” by writing to database
looks this way:
(click to enlarge)
After that you can deactivate the plugin and deinstall it.
download all images from the demo page and upload it to your media library.
After that – replace the missing images with yours.
Here you can download the most of those spa images : https://webers-testseite.de/spa.zipFebruary 21, 2019 at 3:18 pm in reply to: Former customer utilizing the theme without purchasing it #1069964Concerning to your heading on the topic:
If he has no proof of purchase – you can delete the calculated Envato Personal Token Key ( from Enfold Options ) and better : on Envato create a new tokenFebruary 21, 2019 at 3:03 pm in reply to: Former customer utilizing the theme without purchasing it #1069959The precondition for your actions should of course be access to the website. Technically it may be easier to do this than to do it legally.
Otherwise the penalties could be higher than the loss of your salary, because it is a difficult legal question.
Here in Germany, for example, it is the case that a craftsman who has rendered his services but has not been paid for them is not entitled to remove these services (e.g. wall tiles, installed electrical cables etc.).
I would strongly advise against deactivation.
The web page shut down is like you indicate it clearly also not rightfully. If a backup of the older version exists – that would be a possibility to stay the site online but not to make your service available until then it will be paid.
_____________
but don’t worry too much; I’m also a printing service provider.
If a customer leaves me with an invoice, I lose a large part of my pre-invested money in addition to my work.
One learns from such disappointments to prepare better contracts and to demand interim invoices for partial services supplied.Kardinal Frage: meinst du auch wirklich Mobile Endgeräte ? oder ist viel eher für kleine Screenbreiten gedacht?
Wenn es für Mobile Endgeräte sein soll, dann solltest du auch da prüfen, und nicht nur das Browserfenster schmal ziehen.(Cardinal question: do you really mean mobile devices? or is it much more intended for small screen widths?
If it should be for mobile devices, then you should also check there, and not just narrow the browser window.)Der Code von Ismael ist für das child-theme functions.php gedacht. ( und für Mobile Endgeräte gedacht)
wobei ich mir mal einen etwas kürzeren Code notiert hatte:Es hängt jetzt aber auch viel von deiner Seite ab. Daher wäre ein livelink sehr gut.
Denn wenn du zB die transparent header Variante wählst, dann ist das Logo ein anderes.function avia_custom_mobile_logo(){ if(wp_is_mobile()){ ?> <script> (function($){ $(".logo img").attr("src", "http://kriesi.at/wp-content/themes/kriesi/images/logo.png"); })(jQuery); </script> <?php } } add_action('wp_footer', 'avia_custom_mobile_logo');
Wenn du es nur für schmale Screenbreiten brauchst ( ist dann ja auch bei Mobilen Endgeräten aktiv) wäre das hier ein Code:
( die 480px sind hier mal als Grenze gesetzt – kannst Du aber anpassen)function custom_logo_for_small_screens(){ ?> <script> (function($){ $(window).load(function(){ if ($(window).width() < 480) { $(".logo img").attr("src", "http://kriesi.at/wp-content/themes/kriesi/images/logo.png");} }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_logo_for_small_screens');
PS @ismael : there is this navigator.userAgent query in avia.js directly at the beginning. Yours looks very extensive; could we replace it with your detailed one in the combination with
&& 'ontouchstart' in document.documentElement
?ok – take this code to child-theme functions.php:
add_action('wp_footer', 'open_external_links_in_newtab'); function open_external_links_in_newtab(){ ?> <script type="text/javascript"> (function($) { $('a').not('a[href*="webers-testseite.de"]').attr({ 'target':'_blank', 'rel': 'nofollow noreferrer', }) })(jQuery); </script> <?php }
but read on your link above : Collateral damage and https versus http
so it might be better to only do this to links which starts with http only:
add_action('wp_footer', 'open_external_links_in_newtab'); function open_external_links_in_newtab(){ ?> <script type="text/javascript"> (function($) { $('a[href^="http:"]').not('a[href*="webers-testseite.de"]').attr({ 'target':'_blank', 'rel': 'nofollow noreferrer', }) })(jQuery); </script> <?php }
But please read carefully.
Recommendations
Add rel=”noopener” or rel=”noreferrer” to each of the links that Lighthouse has identified in your report. In general, when you use target=”_blank”, always add rel=”noopener” or rel=”noreferrer”.
Or : means – nofollow will be enough to add.
btw: you can reach this via child-theme functions.php
adjust the webers-testseite.de through your home domain url:add_action('wp_footer', 'open_external_links_in_newtab'); function open_external_links_in_newtab(){ ?> <script type="text/javascript"> (function($) { $('a').not('a[href*="webers-testseite.de"]').attr({ 'target':'_blank', 'rel': 'nofollow', }) })(jQuery); </script> <?php }
means that any link that does not match your domain url will be considered external and will be opened in a new tab with the attribute nofollow.
Well this curly bracket is definitly the source for that – i can see it in developer tools. Adding the bracket will end in a wider container.:
#top h1 a, #top h2 a, #top h3 a, #top h4 a, #top h5 a, #top h6 a { color: #da3027; }
(Enlarge video to fullscreen to see what happens on adding the bracket)
https://webers-testseite.de/askvirgo.mp4But the other reason could be the source for that your quick css isn’t saved to the dynamic_avia folder.
Maybe a Mod here has to login to an admin account to see what is the reason for that. Sorry in this case you need to wait for a mod here.it is allways better to have the livelink to say something
but isn’t it the normal behavior to have the image title under the lightbox image? -
This reply was modified 6 years, 7 months ago by
-
AuthorPosts