Forum Replies Created
-
AuthorPosts
-
Prima
-
This reply was modified 4 years, 10 months ago by
Guenni007.
April 2, 2021 at 7:18 am in reply to: video behind background image unresponsible + video autoplay on mobile #1291967But the principle should have been recognized soon or?
There is no z-index for a background image. Therefore the set image must come somehow into a new container, which then moves altogether by means of z-index a layer higher than the back container. The pseudo-containers “before” and “after” are suitable for this. In principle, they are child containers, but they are independent containers. The trick is to inherit the image to them. This is the meaning of “inherit” the takeover from the parent element. Then you only have to give these pseudo containers their own properties (content, positioning, dimensions, the background image from the parent element via inherit, etc.) So that clickable elements of the parent element remain active, these pseudo elements must be set with pointer-events:none.btw: another enfold based site : https://www.bruichladdich.com/
;)i prefer the Octomore (if I can financially afford it.)
-
This reply was modified 4 years, 10 months ago by
Guenni007.
April 1, 2021 at 6:51 pm in reply to: video behind background image unresponsible + video autoplay on mobile #1291869yes but mobile not.
I think the fallback image is the right idea on that.create on youtube a playlist and embed that.
_________
Dear fellow participant – I like to help, and in general I am also more patient, but slowly it is time for me to discontinue my support for you until you agree how it should be now. My time is precious, and therefore also expensive!
I do not play here with all the ALB elements for you until it will be in the end only a picture that links to Youtube!
Sorry – but first think – then ask for help.
Thanks-
This reply was modified 4 years, 10 months ago by
Guenni007.
April 1, 2021 at 5:48 pm in reply to: video behind background image unresponsible + video autoplay on mobile #1291850with a codeblock element – and the youtube in an iframe – you can have those api settings like:
<div class="video-container"><iframe src="https://www.youtube.com/embed/4XWte6KgpjQ?cc_load_policy=1&enablejsapi=1&loop=1&playsinline=1&color=white&iv_load_policy=3" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></div>the start will work – but a pause and restart not !
see on testpage at the bottom.April 1, 2021 at 3:58 pm in reply to: video behind background image unresponsible + video autoplay on mobile #1291805To clarify:
an autostart of a video is only possible on desktop and muted videos!
on mobile devices the browsers do not autostart even on this setting options.due to that – Enfold does not offer on color-section the interaction with the video at all.
On the video alb element – there are options – and the possibility to have audio. – But on mobile you had to start the video yourself.On your first topic – you said that it has to be not full-width – now you got the fullwidth version ?
What now – is your setting ?If it is possible – your png is not the first choice – because the starting video play button is at that position wher your chess-figure (king) is in front over the film. To have influence in a iframe only to that play-button to have partially a higher z-index – will not be possible.
see again : https://webers-testseite.de/video-behind-a-hole/
March 31, 2021 at 2:35 pm in reply to: video behind background image unresponsible + video autoplay on mobile #1291562i do not know how you inserted the background-image over the video – if you can select that container ( maybe a pseudo-container : before; after )
set it to pointer-events: none in your quick cssSoweit so gut:
and have a look here: https://kriesi.at/support/topic/alb-preview-images-and-svg-insert/#post-1291153
-
This reply was modified 4 years, 10 months ago by
Guenni007.
it is a little bit like a list-style-position – you can have the list-style-type (dots, square etc or image ) inside or outside.
i do not see your page – but a little shift of the icon outside the container to the left could help:.avia-icon-pos-left { margin-right: 0; margin-left: -30px; }If the absolute Alignment to the left is important for you – you had to give to that text-block alb element a custom-class f.e.: shifty
and have then:.shifty p { margin-left: 30px } .shifty .avia-icon-pos-left { margin-right: 0; margin-left: -30px; }see here result on top – bottom: default : https://webers-testseite.de/kelly/
you can insert to that field even html code – simplest form is:
<a href="tel:+49228555555">0228 555555</a>
–
<a href="tel:Phone number with country code and without spaces">Tel whatever you like</a>hey Yigit – is there a new beta ?
if you want it in general that there is no sidebar on single post –
goto Enfold (child) – Sidebar Settings – and then make your choice at “Sidebar on Single Post Entries”Otherwise – these are alb generated single posts – so you have the choice to set it in the editor mode of that post – on the right sidebar there is:

But it was definitely not due to my code
please show me a link to your site!
This is nothing concerning to avia-post-nav – and you misled me a bit with your hint to the functions-enfold.php.
markup:

so this must be a slider.
If it is a postslider the lines are in postslider.php lines 996ff/** * @since < 4.0 * @return string */ protected function slide_navigation_arrows() { $html = ''; $html .= "<div class='avia-slideshow-arrows avia-slideshow-controls'>"; $html .= "<a href='#prev' class='prev-slide' " . av_icon_string( 'prev_big' ) .'>' . __( 'Previous', 'avia_framework' ) . '</a>'; $html .= "<a href='#next' class='next-slide' " . av_icon_string( 'next_big' ) . '>' . __( 'Next', 'avia_framework' ) . '</a>'; $html .= '</div>'; return $html; }yes you are right – but on absense of a title the src Attribute will be read ? and that is realy strange
But my intention of having titles is for those images with light-box link.
Even the image alb element of Enfold got no titles on the link – and the lightbox bottom-bar is filled on default with the title attribute of the img.
Yes i know we can change that.
So the best thing would be – if there is a link to img – the title tag of the img should be passed to the anchor – and the lightbox then gets the caption from this title tag.here is mine: https://pastebin.com/fciSv0n7
download: https://pastebin.com/dl/fciSv0n7as mentioned above my code has that little adjustments to the calculation – the original will work too – but column-count should always be integer.
this is the folder structure:

PS: do you have this little extra snippet in your child-theme functions.php – that child shortcodes overwrite parent one and are in that shortcodes folder ? i do often forget to mention that because that is one of my first shortcodes i insert on may installations.
(https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb)function avia_include_shortcode_template($paths){ $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; } add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1);Am besten …
as said here allready: https://kriesi.at/support/topic/modify-previous-next-code/#post-1291130
functions-enfold.php lines 635ff
and as a pluggable function ( these are indicated by
if( ! function_exists('name' ){…)
you have not to remove the parent-theme entry but you can insert an empty function in child-theme functions.php:function avia_post_nav( ){ }but test yourself first: https://kriesi.at/support/topic/modify-previous-next-code/#post-1291132
The anchors of avia-post-nav are not in the DOM !
jetzt also
On every of my installations the edit button is there. Well I think your installation of Enfold is faulty then.
Do you work with a child-theme? Then you can try to reupload enfold again.The selector for that is:
#top .avia_search_element #searchsubmit { background-color: red !important; color: #000 !important; }but you had to find the fault anyway
-
This reply was modified 4 years, 11 months ago by
Guenni007.
What do you like to modify?
functions-enfold.php lines 635ff
there ares some filters you can use to modify the output.if you insert on a text-block a media ( which might often happen on blog posts that are only made via the classic editor) or on text-block alb.
these images will have no title tag. Where does a double title tag comes from on that images ?you placed the Layout Builder Element : Search in your Layout.
Go and edit this Element – a popup arises and you have on that popup different setting options.
On Top you see four tabs :

Press the Styling Tab and scroll to “Form Colors” ! If you have toggles ( you can switch of that toggles on Enfold Options to always have opend all toggles)
open that toggle and see- the image from above : https://kriesi.at/support/topic/change-search-widget-search-button-color/#post-1290959
The last one is for “Button Background Color”Next idea
mittels secondary_image = true_______________
totaly off topic :lol:
but nevertheless the calculation formula is wrong for that part$slidenumber = $entry_count / (int) $this->atts['columns']; // and should be correct: $slidenumber = (int)($entry_count / $this->atts['columns']);a slidenumber has to be integer so if items are 7 and column count is 3 – the old calculation will bring it to slidenumber of : 2,3333 ?
first devision than integer.
After that you don’t need the int() in
$slidenumber = $entry_count % $this->atts['columns'] ? ( $slidenumber + 1) : $slidenumber;
all values are integer allready ;)Pippi Longstocking: ( PS – i see in english this calculation is not present in the song – so Germans tend to be know-it-all ;) )
2 x 3 makes 4 – Widdewiddewitt – and 3 makes 9 !!! ;)the titles itself got a padding top/bottom of 15 change it to your needs:
#top .fullsize .template-blog .post-title { padding: 10px 0 0; }on nomenklatura of css – if you do not declare padding-top padding-right padding-bottom padding-left
one value ( all have the same value)
two values ( top/bottom left/right)
tree values ( top right/left bottom)
four values ( top right bottom left)PS and the entry-content-header has too a padding with big values. Change to your needs to f.e.:
.bloglist-simple .entry-content-header { padding: 15px 60px 0 0; }March 28, 2021 at 9:52 am in reply to: Show Copyright for images in Standard Editor Blog Posts #1290830well if you look to enfold functions-enfold.php you will find this on lines 2336ff
that allready exists – with little adjustments to enfold nomenklatura – and was the way enfold includes that extra field to media library. -
This reply was modified 4 years, 10 months ago by
-
AuthorPosts




