Forum Replies Created
-
AuthorPosts
-
and by the way i mentioned that custom class input field because of your sentence:
Then I edited a text block on a page, and created a custom field named “textblock-black-background”.
yes that is why i said the surrounding container.
if you want to use it like a textmarker you can use your code – but you have to be carefull. If classes belong to one element they are not separated by a space! Just one after the other ( and order is also important to preserve) so your code:.avia_textblock.text-black-background { background-color: #000; }
first try without important – the reason why i take the hex code is to save bytes ;) #000 ist shorter than black :lol
these custom classes are not set in the custom fields. These custom classes are only setable if you are working with the advanced layout builder ( shortend as ALB).
When you have your text-block element from Enfold ALB – open that element
Under the inputfiled for the text there is now an input field for Custom Css Class
thanks for feedback
August 19, 2018 at 9:12 pm in reply to: Open video links in lightbox with image hotspot element #999090set the link of the hotspot as manually link.
see here. https://webers-testseite.de/image-with-hotspost-linking-to-youtube-in-iframes/
link for example with youtube options and at the end with iframe=true:
https://www.youtube.com/watch?v=38cMOweKcxM?autoplay=1&cc_load_policy=1&enablejsapi=1&ecver=2&playsinline=1&rel=0&showinfo=0&color=white&iv_load_policy=3&iframe=true
can you sketch what you want to do?
something like this: https://webers-testseite.de/grid-row-2/It would have been nice to get an answer not only from mods here!
I’m really thinking about not actively standing up for other issues any more. If I should have another problem of my own, then I always find competent contacts in the mods here – and the rest doesn’t interest me anymore. Frankly – dear co-users of Enfold – is it so difficult to give feedback on an answer?both elements ( color-section and grid-row) are full-width elements.
I miss this too – an element that can be a container for other elements and can have the sidebar besides.
That would be a great thing.
Espacially the grid-row will be nice to have this behavior – because as you can see at his consturct – ( Link ) – that it would be a very fleible way to layout things.if you don’t like to make it manually – you can change the backlink by this code-snippet in your function.php of your child theme
you have to adjust your data
function new_nolink(){ $kriesi_at_backlink = "<a href='https://webers-webdesign.de'>Webers WordPress Webdesign</a>"; return $kriesi_at_backlink; } add_filter("kriesi_backlink","new_nolink");
August 18, 2018 at 5:41 pm in reply to: Changing the caption title on fullwidth easy slider to H1 #998732there are more than one method.
As Ismael said – just edit the alb element ( line 545 – of av-helper-slideshow.php – don’t forget to replace opening and closing tag) upload that edited element to child-theme/shortcodes folder and do this to
functions.php of your child-theme:add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths){ $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; }
______________
you can as an alternative do this to your child-theme functions.php :
function replace_tags_with_tags(){ ?> <script> (function($) { function replaceElementTag(targetSelector, newTagString) { $(targetSelector).each(function(){ var newElem = $(newTagString, {html: $(this).html()}); $.each(this.attributes, function() { newElem.attr(this.name, this.value); }); $(this).replaceWith(newElem); }); } replaceElementTag('.slideshow_caption h2.avia-caption-title', '<h1></h1>'); }(jQuery)); </script> <?php } add_action('wp_footer', 'replace_tags_with_tags');
this code preserves all attributes of the original h2 tag and replaced it with h1
(if you like to be more specific you must select more specific f.e. including here the page-id or having a custom class on heading)__________
alternative Method – and for me it is the best – take my edited ALB Element for that – then you have on each slider the option to choose the heading tag :
read here: https://webers-testseite.de/edited-enfold-alb-elements/read carefully – you have to upload all 4 files in this case because the av-helper-slideshow.php is ruling 3 sliders:
https://webers-testseite.de/edited-enfold-alb-elements/#slidersOne disadvantage : If there are major updates you will have to download those edited files again if – there are something changed completely. then there will be a little time shift. (few days)
The link of the page above will get allways the newest versions of those files.-
This reply was modified 6 years, 6 months ago by
Guenni007.
hey Dude – I can’t understand why it should work there (see link above) either.
to be shure that you have no curly exclamation mark issues on that can you please try this by copy&paste in your text :
<script src="https://www.cqc.org.uk/sites/all/modules/custom/cqc_widget/widget.js?data-id=1-2810512121&data-host=www.cqc.org.uk&type=location" type="text/javascript"></script>
check if you have different plugins on those pages – and first try to test if there is a conflict by deactivating those.
-
This reply was modified 6 years, 6 months ago by
Guenni007.
by the way ( i guess Yigit does it) very good structure now on documentation page: https://kriesi.at/documentation/enfold/: well done – Now it just has to be read by the users ;)
but sorry but again the question : how do you try to embed this?
On Enfold ( and on other Themes too) you can not enter a script in a site by putting a script in a text-area as you like.
https://kriesi.at/documentation/enfold/add-custom-js-or-php-script/scroll down to : https://kriesi.at/documentation/enfold/add-custom-js-or-php-script/#add-a-script-to-head-section
or below to see how to insert in footer.Or to enqueue a custom external script: https://kriesi.at/documentation/enfold/add-custom-js-or-php-script/#load-shortcodejs-from-child-theme-folder
you can do that for single pages, page arrays , categories or single posts only etc
August 18, 2018 at 12:27 pm in reply to: I would like to quote this picture (without changing the links to this picture) #998695Dear Ibolee – there is a nice solution i guess for you in the private area here.
But dear Ibolee – I see in your commentary history that you hardly ever react to positive solutions. There are postings that are older than 2 years and no response from you has been appreciated yet. Please judge for yourself if you think this is polite.
I can say this here because I am a participant only here on board too, and also need the attention of the moderators. They do their work very well here on board, but need feedback from time to time.
Best Whishes to you.-
This reply was modified 6 years, 6 months ago by
Guenni007.
1) Create an enfold heading in a flex-column.
2) if there are columns besides each other it is best to have the equal-height option.
3) i gave to the heading itself a custom class: change-on-hover
4) the hover effect will be active if i’m over the whole column
5) Put in the heading input field:
<span data-hover="About">About </span> <span data-hover="Me">Me</span>
6) The data-hover values do not need to be the same – but it looks better if so
7) do this to quick css:.change-on-hover .av-special-heading-tag { -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; z-index: 111; width: 100%; margin: 0 auto !important; overflow: hidden; } .change-on-hover .av-special-heading-tag span { font-weight: bold; display: inline-block; position: relative; transition: transform 0.3s; } .change-on-hover .av-special-heading-tag span:first-child { color: #fff } .change-on-hover .av-special-heading-tag span:nth-child(2) { color: #ffb400 } .change-on-hover .av-special-heading-tag span:first-child::before, .change-on-hover .av-special-heading-tag span:nth-child(2)::before { position: absolute; content: attr(data-hover); } .change-on-hover .av-special-heading-tag span:first-child::before { top: 105% } .change-on-hover .av-special-heading-tag span:nth-child(2)::before { bottom: 105% } .flex_column:hover .change-on-hover .av-special-heading-tag span:first-child { transform: translate3d(0, -105%, 0); color: #ffb400 } .flex_column:hover .change-on-hover .av-special-heading-tag span:nth-child(2) { transform: translate3d(0, 105%, 0); color: #fff }
PS: it works responsive – but maybe it is important to take a relative font-size as i do in the above example 4.5vw
-
This reply was modified 6 years, 6 months ago by
Guenni007.
you can alway have a link to a routeplaner – without any api
<a href="https://www.google.com/maps/dir/''/Weber,+digitale+Dienstleistung,+Ludwig-Schopp-Stra%C3%9Fe+27,+53117+B (Email address hidden if logged out) ,7.0581663,14z/data=!4m8!4m7!1m0!1m5!1m1!1s0x47bee1bd23796923:0x7fcf775f84623228!2m2!1d7.05482!2d50.75646" target="_blank" rel="noopener">Routenplaner</a>
Just look for your location in Google Map – make your settings ( zoom , centering, etc) – copy the link from the browser Url on top and put it as link target.
boardsoft changes these links with @
but this will work too: Route Planerhere with enfold and only css – if this is it – tell me:
hover the about me column: https://webers-testseite.de/buttonlink/it is all in the code of you link you gave to us ;)
so – please post the snippet to see if it is maybe the reason for complication
August 17, 2018 at 10:52 am in reply to: SVG Logo misaligning and covering menu on mobile and tablet #998359and by the way on default i think svgs allways shrink to the center when surrounding container gets smaller.
But you could set a different behavior on the svg code itself ( open with a good editor like sublime-text on OSX or notepad++ for windows)
you see the header of the svg – f.e.:<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" id="Webdesign" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 570 200" enable-background="new 0 0 570 200" xml:space="preserve">
before that space preserve you can add : preserveAspectRatio=”xMinYMin meet” so that there is:
Link : https://developer.mozilla.org/de/docs/Web/SVG/Attribute/preserveAspectRatio<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" id="Webdesign" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 570 200" enable-background="new 0 0 570 200" preserveAspectRatio="xMinYMin meet" xml:space="preserve">
xMinYmin – means it shrinks to the left top
xMinYmax – means it shrinks to the left bottom etc. etc.options are Min , Mid, Max
you can see it here : https://webers-testseite.de/wp-content/uploads/webers-webdesign.svg and difference to :
https://webers-testseite.de/wp-content/uploads/webers-webdesign2.svg
shrink the height of your browser window on both links and seehow do you try to embed this?
Dear Rikard – i think a screenshot is not a good advice. This seems to break the copyright of google.
Screenshots (even it is concerning to the api images):
Private use on the Internet: not permitted
Commercial use on the Internet: not permitted
If you use Screenshot of maybe Google Earth: then you could get into copyright conflicts with third party providers (satellite operators etc.).eventuell ein Plugin was dir im eingeloggten Zustand den Link andeutet.
i use firefox developer edition on Mac OS X – but i do not see these icons.
( Same with : Safari and Chrome)
What happend if you are logged out ? did you see those icons aswell on your browser?by the way : on GDPR (DSGVO) Reasons – wouldn’t it be better if you are using a non embedded Youtube Video – and use instead f.e. an image of the film and link to the youtube video in a lightbox?:
(just place a screenshot as Avia Image and link to a manually link:https://www.youtube.com/watch?v=lhZsLYmmZWM?autoplay=1&cc_load_policy=1&enablejsapi=1&ecver=2&playsinline=1&rel=0&showinfo=0&color=white&iv_load_policy=3&iframe=true
what you see might be the alternative Logo for transparency option.
Look if you got an entry on Enfold (or Enfold-Child) – Header – Transparency Optionshm – on this page ( https://www.kistefosmobler.no/inspirasjon/ ) i think they are using the enfold masonry gallery. But i could be wrong.
hm – i see it is hard to style if you got a header sticky to top. Because it scrolls away.
so i’m testing it right now to have the same behavior as #headertake better the hook: ava_main_header
add_action( 'ava_main_header', 'enfold_customization_widget_area_before_header' ); function enfold_customization_widget_area_before_header() { dynamic_sidebar( 'before-header' ); }
and create a new widget called: before-header
but even this is hard to obtain rightly designed – because – the offset to main was wrong calculated then.
On non shrinking headers you can adjust this by giving the main container a different padding-top.#header_main > .widget { width: 100%; max-width: 1310px; margin: 0 auto; padding: 0 50px; } /*** depends on your header settings ***/ .html_header_top.html_header_sticky #top #wrap_all #main { padding-top: 380px; }
-
This reply was modified 6 years, 6 months ago by
Guenni007.
but your request was only for
(where telephone number/social media icons can be added)
it seems Enfold got a new hook for that – just after the body tag opens (outside the wrap_all div container)
to mods – List it please in your hook listAdd this to your functions.php of your child theme:
add_action( 'ava_after_body_opening_tag', 'enfold_customization_widget_area' ); function enfold_customization_widget_area() { dynamic_sidebar( 'after-body' ); }
Goto Dashboard – Appearance – Widget : create a new widget area called: after-body
You have to style this new widget div as you like – guess it will have by default a 100% width and the background-color of the body
The ecver setting prevents the video recommendations when pausing the film. The playsinline setting ensures that the whole thing runs on a mobile phone like on a desktop. etc pp
you only have to add this to the film link always
?autoplay=1&cc_load_policy=1&enablejsapi=1&ecver=2&playsinline=1&rel=0&showinfo=0&color=white&iv_load_policy=3&iframe=true
-
This reply was modified 6 years, 6 months ago by
-
AuthorPosts