Forum Replies Created
-
AuthorPosts
-
My efforts for now: i did setup for the admin area an own htaccess file with less restrictions.
That is good for the options in enfold – but there is a lot to do to have a secure site – and white lists for google maps f.e. etc.
If someone has a good example page – it would be nice to see.Nice Link Rikard – thanks
btw: if no hook fits to your position – your deposit has a unique ID (#yith-wcdp-add-deposit-to-cart) so you can do it with jQuery too via appendi changed the testpage to a similar gradient you like to use.
PS:
the normal w3c definition of angle is that the top position marks the 0deg and the count goes clockwise.
the other browser definitions : the horizontal right position is the 0deg and the angel is meassured counter clockwise.
so 45deg are on both coordinate systems the same but 35deg on the first is (90-35) = 55deg on the other.
on most cases the w3c will be enough ( but i usually add the webkit definition too /* safari5.1+,chrome10+ */ )Please don’t ask why w3c set it this way – on mathematical coordinate systems the other is the most common in use.
October 31, 2019 at 6:30 pm in reply to: how to use this filter: avf_inside_alternate_main_menu_nav #1152817Thanks Ismael – I’ll see if it stimulates my imagination to do something with it. ;)
but you see on my testpage – that there is a whole image as background to both grid elements?
the red arrow shows to the grid-row element
the green arrows show you inside the grid-row elements.
So if you have no background definition on the cells the grid-row element background is seen.
You see on my code there is a unique ID to that grid-row element – and to that unique ID i made a css rule for the background-image. If you know how to use developer tools of your browser you can see the code.the link to your gradient is f.e. : https://angrytools.com/gradient/?0_f4c695,100_b7885f&0_100,100_100&l_35
but take background-image as attributemy css on that page will be this way:
#with-background-image { background-image: -webkit-linear-gradient(35deg,#f4c695 0%,#b7885f 100%); background-image: linear-gradient(55deg, #f4c695 0%, #b7885f 100%); background-repeat: no-repeat; background-size: cover; background-position: top center; }
just give a custom-class or unique ID to the whole grid-row element.
The rest is css in quick css.
See here example: https://webers-testseite.de/grid-row-background-image/
here you can find a nice tool to generate gradients ( even as svg image ) : https://angrytools.com/gradient/you know how to set in quick css a background-image ( Gradient ) ?
my first thought was the transparency – but if you haven’t i don’t know.
By the way – is there in the meanwhile a filter solution for setting the breadcrumb visiblilty even for transparent headers?
( the line 1060 on newest enfold:
` if(!empty($transparency)) $header[‘header_title_bar’] = ‘hidden_title_bar’;
`
was in that case commented out by me with a copy of the whole function ( avia_header_setting ) in child themeyou have to work with data-groups
in my case for the youtube film i do not need a custom-class because the images have lightbox-added class and the youtube films mfp-iframe –
guess that someone could help you with transfer to different image groups with that hint: https://kriesi.at/support/topic/lightbox-galleries/#post-1116515
On that code you see how to add the data-group attribute to a selector
or:
https://kriesi.at/support/topic/lightbox-on-button-click/#post-650061here from Dmitry Semenov himself an Example: https://codepen.io/dimsemenov/pen/pvvpgJ
October 28, 2019 at 8:16 am in reply to: how to use this filter: avf_inside_alternate_main_menu_nav #1151678just give an example on f.e. insert a text with anchorlink on that place. or f.e. a shortcode.
Well – that it works you can see: https://webers-testseite.de/guenni/datenschutzerklaerung/
So maybe it is a user error.
Mostly the participants do not like to read. Only copy and paste thats all.
If you will do it step by step – it works. ( except if you have some older Enfold Versions )
Now i’m out – because i don’t want to rank your postings bad. Sorryand if this synthax work with the magnific popup function – you should have a space after each comma:
jQuery('.menu-item-17225 a, .menu-item-17226 a, .popup-button a, .archive-button, .header-button-1, .header-button-2').magnificPopup({ …
by the way:
You should only upload the photos to your own server – maybe I could delete them.
https://webers-testseite.de/wp-content/uploads/testimonial-shadow.pngOn the buttons site i have that sticky sidebar – in a manner that you can use even with very long sidebars.:
https://webers-testseite.de/buttons/
you can see here what is possible with flex-box modell:
https://webers-testseite.de/layout-mimic/If you are interested – i will make a tutorial page like the other one: Link
sorry – wrong topic – ( you shouldn’t have more than one open. )
But maybe you can do it with one common class on those items:
function popup_inline() { ?> <script type="text/javascript"> (function($) { $(window).load(function(){ $('.menu-item-17225 a, .menu-item-17226 a, .popup-button a, .archive-button, .header-button-1, .header-button-2').addClass('open-popup-link'); $('.open-popup-link').magnificPopup({ type:'inline', midClick: true }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'popup_inline');
Dear Bluehoop – here on the inputfield there are above some tags you can place.
It would be nice if you use for code the code tag.
You can do this either by click on code – paste your code and click again on code button.
Or past in your code and activate all of it and press once the code button.It is difficult to check a code if we can’t see if, for example, the quotes are correct.
If I were to copy/paste your code now, it wouldn’t be usable because the quotes aren’t the usual code quotes.Now : i do not think that you can row the items – comma separated – in this way.
i think you had to use the items option – like in Documentation said: https://dimsemenov.com/plugins/magnific-popup/documentation.html#public_methodsby the way : because i see in your example the top-navigation on the left – this is then : av_secondary_left
so it depends the css code on your constallationif you like to choose the headline rotator with typewriter animation – and you don’t like the change between the paragraphs with that background-color you can overwrite the style this way:
.av-marked-text .av-rotator-text-single{ background-color: transparent !important }
or a different color
-
This reply was modified 5 years, 8 months ago by
Guenni007.
you can take the same hook: avia_meta_header
add_action( 'avia_meta_header', 'enfold_customization_header1_widget_area' ); function enfold_customization_header1_widget_area() { dynamic_sidebar( 'headermeta' ); }
add a new widget named: headermeta Edit: maybe you have not read the post here well.
then some quick css – depends on your header looks like:
.av_secondary_left .sub_menu { width: 80%; display: flex; flex-flow: wrap row; width: 80%; display: flex; flex-flow: wrap row; } #top .sub_menu > ul { float: none; } #header_meta .widget { float: left; padding: 0; margin: 0; left: 50%; transform: translateX(-50%); } @media only screen and (min-width: 767px) { #header_meta .widget * { color: #fff !important; } }
maybe you better remove the usual margins in the header_meta area – and in between 768px and 990px the header_meta widget area is on the right:
@media only screen and (min-width: 767px) and (max-width: 990px) { .av_secondary_left .sub_menu { width: 100%; justify-content: space-between; padding-right: 0; } #header_meta .widget { transform: none; float: right; left: auto; right: 0 !important; } } #header_meta .widget p { margin-top: 0 !important; } #header_meta .widget .widgettitle { margin-bottom: 0; }
Result: https://webers-testseite.de/guenni/datenschutzerklaerung/
October 10, 2019 at 9:15 pm in reply to: How to make the ALB editor bar with the elements "sticky"/fixed? #1146954October 10, 2019 at 3:32 pm in reply to: LayerSlider 6 unable to deactivate, delete or update #1146875it seems that the above code blocks all plugins – do not know why
if this is all your Quick CSS – then why is clear for above reasons.
there are some closing brackets missing – each opening bracket must have a closing bracket.@media only screen and (max-width: 767px) { .av_textblock_section .avia_textblock p * { font-size: 12px !important } } @media only screen and (max-width: 767px) { .responsive #scroll-top-link { display: block!important; } }
But because the media query is the same – you can combine them to:@media only screen and (max-width: 767px) { .av_textblock_section .avia_textblock p * { font-size: 12px !important } .responsive #scroll-top-link { display: block!important; } }
EditActually I think as someone who wanted to help you with the solution I have a certain right to know if and how you solved the problem.
Unfortunately the topic was already closed – but maybe you’ll come back to read this.it sound for me – as if you entered a css rule in quick css that is not well formated.
A missing closing bracket e.g. on a media-query rule could be happen easily.
If you can post your quick css – we can see what happensMy guess is based on the fact that on Enfold these setting below are just behind your quick css rules
if there is on top a missing closing bracket – every rule after that has no effect..container {width:100%;} .container .av-content-small.units {width:75%; } .responsive .boxed#top , .responsive.html_boxed.html_header_sticky #header, .responsive.html_boxed.html_header_transparency #header{ width: 1310px; max-width:90%; } .responsive .container{ max-width: 1310px; } #top #wrap_all .av-main-nav ul > li > a, #top #wrap_all .avia_mega_div, #top #wrap_all .avia_mega_div ul, #top #wrap_all .av-main-nav ul ul{color:#404040;background-color:#cfcfcf;font-size:14px;} #top #header .av-main-nav > li > a{color:#000000;} #top #header .av-main-nav > li > a .avia-menu-text, #top #header .av-main-nav > li > a .avia-menu-subtext{color: #000000;}
and you see that jordans rule above is part of this enfold options css under the quick css.
if you had a top menu then the activation is done and that little snippet of avia_meta_header is unnecessary:
this you can erase :add_filter( 'avf_execute_avia_meta_header', '__return_true', 10, 1);
the css will depend on the position of top menu – this here is for left position:
#header_meta .av-rotator-container { font-size: 24px !important; position: relative; left: 50%; float: left !important; transform: translateX(-50%); top: -10px; } .av_secondary_left .sub_menu { width: 80%; } #header_meta span { font-size: 30px; }
there is a hook if the sub-menu is present.
– but if we don’t want sub-menu on top we can activate it nevertheless via filter:add_filter( 'avf_execute_avia_meta_header', '__return_true', 10, 1); add_action('avia_meta_header', function() { if(is_page(3)){ echo do_shortcode("[av_headline_rotator before_rotating='' after_rotating='' interval='5' animation='' margin='' margin_sync='true' tag='h2' size='36' align='center' custom_title='' av-medium-font-size-title='' av-small-font-size-title='' av-mini-font-size-title='' alb_description='' id='' custom_class='' av_uid='av-k1gw6wo0' admin_preview_bg=''] [av_rotator_item title='today we offer abc' link='' linktarget='' custom_title='' av_uid='av-it587'] [av_rotator_item title='but the whole week it is' link='' linktarget='' custom_title='' av_uid='av-egknj'] [av_rotator_item title='⇒ another line to present' link='' linktarget='' custom_title='' av_uid='av-6u493'] [/av_headline_rotator]"); }; });
a little css to position it:
#header_meta .sub_menu { font-size: 24px !important; position: relative; left: 50%; float: left !important; transform: translateX(-50%); top: 0; } #header_meta span { font-size: 30px; }
see testpage: https://webers-testseite.de/guenni/datenschutzerklaerung/
there is a little error in the textblock.php
https://kriesi.at/support/topic/4-6-3-1-issues/#post-1144794
here is a corrected textblock.php : Link
you can close this because it seems to be better posted there – because i think borlabs – is borlabs himself ;)
https://kriesi.at/support/topic/code-block-element-doesnt-handle-shortcodes-properly/If you do that all testings : do you allways refresh all caching tools ( including autoptimizer , enfold merging etc.) ?
October 9, 2019 at 12:50 pm in reply to: Code Block Element doesn't handle shortcodes properly #1146502Issue is solved with Borlabs Cookie Version : 2.1.3
-
This reply was modified 5 years, 8 months ago by
-
AuthorPosts