Forum Replies Created
-
AuthorPosts
-
the point is that the surrounding parent content container gets a padding-top/padding-bottom of 50px
in your case this would be the css rule :
.page-id-19 #after_layer_slider_1 .content {padding: 0!important}
but if you don’t like to look always what is the name of that given container (after-section1 etc. ) you can do this :
assign the hr element a custom-class called : nopadding and this comes
into functions.php of your child-theme:function padding_to_parent_of_hr_nopadding(){ ?> <script> (function($){ $('div.hr.nopadding').closest('.content').css({"padding": "0", "min-height": "0px" }); })(jQuery); </script> <?php } add_action('wp_footer', 'padding_to_parent_of_hr_nopadding');
from now on every hr which has the class nopadding will transfer to its nearest parent content those values
or if you don’t want to place a shortcode there
( guess a advanced slider will be possible too)add_action('ava_before_footer', function() { echo '<div class="avia-section main_color special-one"><div class="container">'; echo do_shortcode("[layerslider id='19']"); echo '</div></div>'; });
and you only want to place some html code there – this will be enough (again the divs got that classes of every color-section and one for your adjustments or an id to anchor for ):
function some_content_before_footer() { ?> <div id="last-section" class="avia-section main_color special-one"> <div class="container"> Some html content, f.e an image </div> </div> <?php } add_action('ava_before_footer' , 'some_content_before_footer');
is it always the same content ?
there is for example a hook just before footer (ava_before_footer) you can use it to insert shortcode ( f.e. from alb elements)
add_action('ava_before_footer', function() { echo '<div class="avia-section main_color special-one"><div class="container">'; echo do_shortcode(" [av_postslider link='category,1,14,15' wc_prod_visible='' prod_order_by='' prod_order='' columns='3' items='-1' offset='0' contents='no' preview_mode='auto' image_size='portfolio' autoplay='yes' interval='5' custom_class=''] "); echo '</div></div>'; });
you see here the long tail is the shortcode from a post-slider – : you know how to get it from debug mode ?
the rest is to have the same parameters as a color-section-
This reply was modified 7 years, 2 months ago by
Guenni007.
April 13, 2018 at 9:30 pm in reply to: Show and hide images with hotspots inside tabbed content #941673if you activate the debug mode you can see the enfold shortcodes generated down the layout window.
If you only pull one image with hotspots in it – configure everything you like – you can see the shortcode like this :[av_image_hotspot src='https://webers-testseite.de/wp-content/uploads/DSC5417-1030x616.jpg' attachment='30814' attachment_size='large' animation='no-animation' hotspot_layout='numbered' hotspot_tooltip_display='' hotspot_mobile='aviaTBhotspot_mobile' custom_class=''] [av_image_spot tooltip_pos='av-tt-pos-above av-tt-align-left' tooltip_width='av-tt-default-width' tooltip_style='main_color' link='' link_target='' hotspot_color='' custom_bg='' custom_font='' custom_pulse='' hotspot_pos='11,51.5'] Kirschblüte in Bonn - Friedrichstraße [/av_image_spot] [av_image_spot tooltip_pos='av-tt-pos-above av-tt-align-left' tooltip_width='av-tt-default-width' tooltip_style='main_color' link='' link_target='' hotspot_color='' custom_bg='' custom_font='' custom_pulse='' hotspot_pos='50,29.6'] Kirschblüte in Bonn - Friedrichstraße [/av_image_spot] [/av_image_hotspot]
you can enter this in a tab text field (best on text editor not visual one) – these tabs you can pull in a tab of a tab-section
this is a diligence task – but it is possible !
( PS i tried to do it tab in a tab – but this messes up )April 13, 2018 at 8:17 pm in reply to: Show and hide images with hotspots inside tabbed content #941657on the moment there will be no other possibility to get this easy.
tab / tab / image with hotspot with shortcode nesting will not work
but
tab-section / tab / image with hotspot willsee here ( the only thing i made is via css the tab-titles on top not full width)
https://webers-testseite.de/nested-tabs/April 13, 2018 at 7:30 pm in reply to: How to customise the load more button in a masonry gallery? #941649nice to see one screenshot – and you are not able to adjust the few lines yourself ?
Centering from a screeshot is hard to say – center to what – a link is alway better#top .av-masonry-load-more { display: inline-block; box-shadow: 1px 1px 3px #666; border-radius: 15px; left: 50% ; transform: translateX(-50%); position: relative; top: 15px; color: #fff ; background-color : rgb(30,205,215) !important; font-size: 28px !important }
PS : you get rid of that deformation by letter-spacing set to 0px
a small supplement, because I see that you offer a whole range of different Youtube films on the page:
here is a small tutorial how to get one youtube goes to play and stops the other one.:
https://webers-testseite.de/youtube-videos/this is only set if enfold detects a masonry and if content height is bigger than window height:
shortcodes.js:
//fix for non aligned elements because of scrollbar if(container.outerHeight() + container.offset().top + $('#footer').outerHeight() > $(window).height()) { $('html').css({'overflow-y':'scroll'}); }
we had to find a different solution for it
the scrollbars have a given width ( guess something like 17px)
the overflow-y : scroll rule sets scrollbars even if the content fits into screen-height !
Some browsers ( guess safari or the mobile browser ) hide the scrollbars on lightbox open (even if content is bigger than screen-height) if there wasn’t a overflow setting ( or set to auto)i’m on that topic – but yet i do not know how to have a child theme friendly solution.
I have to read more in the magnific popup api documentation to see if there was a possibility. The code inserted from enfold to html (overflow-y: scroll) is inline code too – on that testpage of Semenovs Testpage is set via css.PS : on his example page this is exactly the behavior – on lightbox open the html goes to overflow-y : hidden
http://dimsemenov.com/plugins/magnific-popup/Without a link – you must wait til mods are here – could be everything
April 12, 2018 at 6:51 pm in reply to: How to customise the load more button in a masonry gallery? #941084for example if you don’t like it fullwidth :
#top .av-masonry-load-more { display: inline-block; box-shadow: 3px 3px 6px #666; border-radius: 15px; left: 50% ; transform: translateX(-50%); position: relative; top: 15px; }
how did you get that banner on top ? https://dev.mediabox.ca/3/
i mean your first page with the members login. Great idea
Sometimes you forget to mention the simple things.
At the moment I am trying to gain a deeper insight into the jQuery programming. That’s why I approach some solutions from this point of view.
I have recently written a code for the funcions.php, which checks whether a mobile device accesses the site or a desktop pc.
Enfold has that already in avia-compat.js , and then assigns to the devices each a unique html class.
So if you want to make a css rule only for mobile devices you always can use : html.avia_mobileby the way : I would never have come up with the idea of placing shortcodes in a menu navigation label.
But it works well !yes but do it in private content the download zip file
im übrigen: um wie auf der Beispielseite Texte einzufügen und abzuändern ( trotz Enfold Einstellung die Labels oberhalb anzuzeigen:
das in functions.php of child-theme: (for me it was page-id-2604)function change_placehoder_txt() { if( is_page(2604) ) { ?> <script type="text/javascript"> jQuery('#avia_1_1').attr('placeholder', ' Bitte hier Ihren Namen eintragen*'); jQuery('#avia_2_1').attr('placeholder', ' E-Mail* - ohne wird es nicht verschickt'); jQuery('#avia_3_1').attr('placeholder', ' Ein Betreff - nicht nötig aber nützlich'); jQuery('#avia_4_1').attr('placeholder', ' Nachricht* - Ihr Anliegen'); </script> <?php } } add_action('wp_footer', 'change_placehoder_txt');
1) there is a checkbox on alb element –
2 ) you can copy html code to the form element label as ( if you like get rid of target blank) :
<span>I have read the <a href="https://page-url-to-privacy-data" target="_blank">Privacy Statement</a>. I agree that my details and data will be collected and stored electronically to answer my request. Note: You can revoke your consent at any time for the future via e-mail to (Email address hidden if logged out) *</span>
3) do not preselect check-mark – the user has to do it activly
4) this has to be a mandatory fieldPS : the span is good to style it differnt to other labels ( make font-size smaller etc. )
You can see it here with enfold contact form: https://webers-testseite.de/kontakt/because it is an upload – there are tools or plugins which hampers uploading files
i don’t know why the last quotation marks are transfered to curved one.
your are using the normal text editior of WordPress ?
try to deactivate all plugins (only cf7 active) and have a look if it works then.With login you have to wait for a mod – i’m participant as you are – so i do not see private content
-
This reply was modified 7 years, 2 months ago by
Guenni007.
no – and the double quotation marks do change to simple one ?
can you please copy and paste this to your text:[contact-form-7 id="483" title="Contact form 1"]
please show us the shortcode you set in text field
ah sorry i see – the quotation marks are changed – : try
[contact-form-7 id="483" title="Contact form 1"]
try to insert the code not in the visual mode but in text-mode and save
-
This reply was modified 7 years, 2 months ago by
Guenni007.
the magnific popup script sets the html to overflow-y scroll.
that has the reason not at last because otherwise on open the lightbox the background will jump to the right ( the width of the scroll bars)
This looks ugly too.April 12, 2018 at 12:13 pm in reply to: Time code for Youtube videos when full screen slider #940880on embed shortcode it is:
https://youtu.be/MkYJaieL7OU?t=1m20s
and by the way the starting time option is with embed or watch:
&start=80 bzw &end=28
https://www.youtube.com/embed/MkYJaieL7OU?start=80
https://www.youtube.com/embed/MkYJaieL7OU?start=80
always think of that the first option after video id is a question mark !
-
This reply was modified 7 years, 2 months ago by
Guenni007.
but it isn’t that terra messflug at ? This is not enfold
-
This reply was modified 7 years, 2 months ago by
-
AuthorPosts