Forum Replies Created
-
AuthorPosts
-
May 11, 2018 at 3:35 am in reply to: Listing a category from a plugin on an Avia Layout Builder site? #954972
A lot of custom post types called it category but it is in real a taxonomy. Like Enfolds Portfolio.
So did you try to find your plugin post as taxonomie. f.e. on blogposts there is on “Do you want to display blog posts” the option to show from a taxonomie.If this is not listed you can try to register your custom post type .
(look on Google for “Enfold register CPT for Masonry”) – https://kriesi.at/support/topic/overriding-functions-in-a-child-theme/#post-167093
and read also the things ismael mentionedand here: https://kriesi.at/support/topic/procedure-for-adding-custom-post-type-and-enabling-it-for-use/
it depends on what text and how many text you like to display:
As you see here in the board on top the Kriesi Logo is only the brand image (K) with additional text.
This could be obtained with Enfold presetted filters.
For Example if you like to have the wordpress name of the site and description to your logo:add_filter('avf_logo_subtext', 'kriesi_logo_addition'); function kriesi_logo_addition($sub) { $sub .= "<span class='logo-title'>"; $sub .= get_bloginfo( 'name', 'display' ); $sub .= "</span>"; $sub .= "<span class='logo-title logo-subtitle'>"; $sub .= get_bloginfo( 'description', 'display' ); $sub .= "</span>"; return $sub; }on using this filter it is possible to show besides your logo f.e. the actual page title :
add_filter('avf_logo_subtext', 'kriesi_logo_addition'); function kriesi_logo_addition($sub) { $sub .= "<a class='page-title' href= '#'>"; $sub .= "<span class='the-title'>"; $sub .= get_the_title(); $sub .= "</span>"; $sub .= "</a>"; return $sub; }there has to be css fittings to see the inserted elements
etc. pp
If you like to have a widget area – see here: https://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/May 10, 2018 at 5:19 pm in reply to: Lightbox Modal Window no longer working after update to 4.3.1 #954704ok Rob – thanks for that – I was not aware that a child theme version was still there
Basilis – follow my link to the test-page it works – after i red about that playlist feature
so if the playlist got the same ID as the initial video all works fine
https://www.youtube-nocookie.com/embed/ID?enablejsapi=1&ecver=2&cc_load_policy=1&playsinline=1&rel=0&showinfo=0&autoplay=1&color=white&iv_load_policy=3&playlist=ID&loop=1-
This reply was modified 7 years, 6 months ago by
Guenni007.
if your cookie consent or notice works well – the will be an additonal cookie after accepting the cookie notice !
I think enfold does not come with a cookie itself. The phpsessionID is something every browser will do.you can determine this by your self. On browser url – i hope there will be a green lock ( not necessary if you have no contact form ) – click on it.
now each browser got it a bit different on firefox there is a little arrow to the pointing to the right. Press it and than “additonal Information”. there you can have details about security options.
Chorme has it directly – There you can find infos about cookie use.can we participate in the secret knowledge? Rob
by the way there is a way to force youtube videos to play inside ( means not fullwidth but in the content surroundings)
add as option : &playsinline=1All over the shortcode – indeed – i recognized it too!
if you have debug mode on you will see it directly – on html source code it is absentwell i guess the easy slider got the class avia-small-width-slider – so try:
.avia-small-width-slider .avia-caption { bottom: inherit !important; left: 50%; top: 50%; transform: translate(-50% , -50%); text-align: center; width: 100%; }You would increase the chance of response with a solution if you could make the link public. Other participants have good ideas too.
On how i understand you – that there is a page where images are placed ( not as Image ALB Element) that you like to open in a lightbox?
or try this solution ( by the way there is nothing against it to have more than one class each element)
https://kriesi.at/support/topic/column-clickable-code-doesnt-work-any-more/#post-951688on ALB Elements input field just insert them each behind the other
so for.box-link.clickableinsert in the input field: box-link clickableor is that the class you used to have the box link?
than you can edit the code which comes to functions.php of the child theme:
function transfer_link_from_child(){ ?> <script> (function($){ $(".box-link").each(function(){ var theLink = $(this).find("a:first").attr("href"); if (typeof theLink !== "undefined"){ $(this).addClass("clickme"); $(this).on("click", function(){ window.location.href = theLink; }); }; }); })(jQuery); </script> <?php } add_action('wp_footer', 'transfer_link_from_child');PS : the added class clickme is for styling the hover state f.e.:
.clickme:hover { cursor: pointer; -webkit-filter: drop-shadow(2px 3px 5px #999); filter: drop-shadow(2px 3px 5px #999); }the contact form has a checkbox already – you can set it as you like
on the label of that checkbox it is possible to insert html code :
so something like this will do the trick:
<span>Ich habe die <a href="https://url-to-your/datenschutzerklaerung/" target="_blank">Datenschutzerklärung</a> zur Kenntnis genommen. Ich stimme zu, dass meine Angaben und Daten zur Beantwortung meiner Anfrage elektronisch erhoben und gespeichert werden. Hinweis: Sie können Ihre Einwilligung jederzeit für die Zukunft per E-Mail an (Email address hidden if logged out) widerrufen.</span>see here: https://webers-testseite.de/kontakt/
you can see here on that page that it is possible but to give a correct answer it will be nice to have these infos on top
there is one breadcrumb under the slider but also down in the footer section
https://webers-testseite.de/breadcrump-under-first-color-section/no it is not officialy mentioned in the api – but on my youtube shortcode i integrated it and it works very well.
https://webers-testseite.de/youtube-shortcode-for-enfold/
and i found this what i have not read well: https://developers.google.com/youtube/player_parameters#loop
so loop only works if a playlist with the identical youtube id is placed:
⇒ https://webers-testseite.de/youtube-fullwidth-video-with-loop/well the position is bad in that mfp-bottom-bar container.
so if we do not want to have an edited magnific-popup-scriptwe can shift the container with the title:
add_action('wp_footer', 'move_title_script'); function move_title_script(){ ?> <script type="text/javascript"> (function($) { function a() { $('body').on('click', '.lightbox-added', function() { if($('.mfp-bg').length >= 1) { $("div.mfp-title").insertAfter("img.mfp-img"); } }); } a(); })(jQuery); </script> <?php }after that you had to style the title f.e.:
div .mfp-title { font-size: 3vw !important; line-height: 4vw !important; position: absolute; top: 50%; left: 50%; width: inherit; text-shadow: 3px 3px 5px #000; transform: translate(-50% , -50%); padding: 20px !important; text-align: center; }see link: https://webers-testseite.de/accordion/
on every browser i got ( safari, chrome, firefox, safari developer version, opera ) it is ok – and you see on the screen film that it works on all browsers except on the microsoft crap ! Sorry – but the whole internet history they have this “special position” under all other browser.
If you like to include a browser specific fix – the html got the class: avia-edgethe height on that will be 27.75vw
but it is not the whole screen distances constant.here ends my support on this topic.
Go and play with good browsers. This has a reason: https://de.statista.com/statistik/daten/studie/157944/umfrage/marktanteile-der-browser-bei-der-internetnutzung-weltweit-seit-2009/
if you take the secure way of uploading new enfold via ftp by renaming the old enfold folder to f.e. enfold-old ( to have a rollback if necessary) it is indeed this way that on dashboard – appearance – themes there are two “enfold” listed.
Enfold-Child only takes the parent info from “enfold” folder. So to delete the enfold-old folder it is better to do this by ftp too – because you don’t see the folder names on themes list.… to show on the image, beneath the image, or just somewhere, when an image is showed as lightbox/modal.
?
did you delete all caching infos (browser too)
see the video on the bottom of my testpage: https://webers-testseite.de/mimic/that is the behavior when the mediaquerie rule is added and i look to the different screensizes
and by the way : could you please add the ecver=2 attribut for yourtube videos.
it is responsible for getting rid of advertising on pause videos.you can see it on a test page here from another participant: https://www.cnmdev1.com/team/
look what happens on pausing the vidoe on the top lefton wider screens it is ok now isn’t it ?
you erased the rule for smaler screens when hamburger menu starts to work:@media only screen and (max-width: 768px){ .page-id-948 #av-layout-grid-1 { height: inherit !important; display: inline-block !important; } }change the code to
maybe it is necessary to set it to important.page-id-948 #av-layout-grid-1 { height: 28.12vw !important; display: inline-flex !important; vertical-align: top; }and you did that for your page-id ?
page-id-948
-
This reply was modified 7 years, 6 months ago by
Guenni007.
can you please try:
*movetobeauty.be/*and please give it a bit time 10min to be active
well you can answer the question yourself. ( on stretched layout – otherwise we could work with % values)
Your video has an aspect ratio of 16:9 and your grid cell has a width of 50% of videoscreenwidth called : 50vw ?
what if the height of grid-row is 28.13vw ( 50×9/16)see here: https://webers-testseite.de/mimic/
the fatal thing is the setting of grid-row to display as table-cell !
so in my case it is for that page:
.page-id-32038 #av-layout-grid-1 { height: 28.13vw !important; display: inline-flex !important }the only thing now to decide is when should this break back to table-cell – that depends on the amount of content in your right cell !
f.e:
@media only screen and (max-width: 768px){ .page-id-32038 #av-layout-grid-1 { height: inherit !important; display: inline-block !important; } }to 1) you must have set the rule yourself – you set the floating behavior to none !important – please try:
(find the code and erase it )you set:
.responsive .logo { width: 300px; height: 100px; margin: auto !important; float: left !important; }get rid of margin auto and change it to:
.responsive .logo { float: left !important; } -
This reply was modified 7 years, 6 months ago by
-
AuthorPosts




