Forum Replies Created
-
AuthorPosts
-
Enfold Options – Sidebar Settings – Sidebar on Smartphones
“Show sidebar on smartphones (Sidebar is displayed then below the actual content)”Where did you get the shortcode from? – so why don’t you insert the link first to that source and then copy/paste the shortcode?
bitte so nehmen sonst sind die kleinen listen auch verändert:
.avia-icon-list.av-iconlist-big li { min-height: 200px !important; }
ich bin wie Sie auch nur ein Teilnehmer mit manchmal guten hilfeangeboten.
Daher sehe ich die Zugangsdaten nicht.
Versuchen sie den code oben – eventuell die 200px anpassenit will be much easier to inspect your code if we had a live link.
Otherwise we had to reproduce your site – and it’s very time consumingTry to adjust the minimum height of the list item to your needs.
.avia-icon-list.av-iconlist-big li { min-height: 200px !important; }
-
This reply was modified 6 years, 5 months ago by
Guenni007.
the transparency comes from the title container:
but border style belongs to #header and main:.title_container { background-color: transparent !important; border: none !important; } #header_main, .container_wrap_first.container_wrap { border: none !important; }
With your given png it will be that solution you have. – but with a svg it is mucht easyer because you can have css rules for singel path if you want.
You can see here a demo – the text “Bonn” vanishes on scrolled case – and if you hover the logo the path “Bonn” gets red etc. pp.
nice to have svg for web. : https://webers-testseite.de/cynthia/
by the way it is my playground for some header / logo changingsJanuary 17, 2019 at 10:52 am in reply to: Fixing background from scrolling when inside lightbox #1054919you have to put this into your child-theme functions.php:
add_action('wp_footer', 'custom_lightbox_script'); function custom_lightbox_script(){ ?> <script type="text/javascript"> (function($) { function a() { $('body').on('click', '.lightbox-added', function() { if($('.mfp-bg').length >= 1) { $('html').css("overflow-y", "hidden"); } }); $('body').on('click', function() { setTimeout( function() { if($('.mfp-bg').length == 0) { $('html').css("overflow-y", "scroll"); } },500); }); } a(); })(jQuery); </script> <?php }
some people would pay money for a code like that ;) :lol
to get rid of repeat – just put this to your quick css:
#av_section_1 .av-section-color-overlay { background-repeat: no-repeat !important; background-position: bottom center; }
i would have done that all via custom-class.
You know how to get the custom-class field in enfold? : it is on Enfold Options – Layout Builder – and check “Show element options for developers”nothing opens at all. Continous spinning wheel on top
put this to the child-theme functions.php:
add_filter('avf_logo_link','av_change_logo_link'); function av_change_logo_link($link){ $link = "https://www.mrichards.com.br/"; return $link; }
have you a live link for me ?
but if it is a feature that all first color-section should do that:
#av_section_1 { background: #EEE url(/wp-content/uploads/2019/01/skycontentc.jpg) repeat 0 0; width: 100%; margin: 0; -webkit-animation: slide 20s linear infinite; animation: slide 20s linear infinite; } @-webkit-keyframes slide { from { background-position: 0 0; } to { background-position: -400px 0; } }
by the way: this #EEE in the code can be overwritten by the color defined in color-section ALB – if your image is a transparent png.
but i think you like to show a passing cloudy sky
But – then the jpg has to be seamless otherwise you will seewell all first color-section on enfold got that ID ( av_section_1 ) on default !
Only if you fill the input field “For Developers: Section ID” – the ID will change to that custom oneis it realy a class that av_section_1 ? try #av_section_1
but you should be more specific – otherwise all first color-section will do thatwell everything is on your linked page!
just make a color-section and give a custom class ( hero-bkg-animated ) to it. Place the code into your quick css..hero-bkg-animated { background: #EEE url(//webers-testseite.de/wp-content/uploads/geometry2.png) repeat 0 0; width: 100%; margin: 0; -webkit-animation: slide 20s linear infinite; animation: slide 20s linear infinite; } @-webkit-keyframes slide { from { background-position: 0 0; } to { background-position: -400px 0; } }
the 400px depends on the png you like to use – the height of the color-section can be different to that.
https://webers-testseite.de/hostage-media/
PS : and if you take a real png with transparency – the background-color can be changed here too !
and i would include the animation ( not only the -webkit-animation to that rulePPS: if you change the keyframe to – you will have diagonal animation etc. pp
@-webkit-keyframes slide { from { background-position: 0 0; } to { background-position: -400px -400px; } }
Yes gitte – but you can not have that : “Custom top and bottom margin” for a single Column. Always both columns get the setting!
You can set both columns to equal height and set them to bottom alignment. But then view on smaller screens will get confused and you have more control on the overlapping behavior on my method.
If you only have one image then the 1/1 container will be a good and quick alternative – as you saidJanuary 15, 2019 at 1:41 pm in reply to: Anzeigeprobleme bei color section mit diagonal border #1054118These slanted areas are additional containers after the concerning color-section – the belong to the color-section where it is definded.
Allthough they look like the are part of the following color-section.
It is a div which got the background-color of the following color-section and is rotated about 5deg.
If you got perhaps a rule for that class: av-extra-border-inner with border it could be that you have on the slanted lines a border. But this must be an additonal css and could not be achieved through enfold alb setting.January 15, 2019 at 1:29 pm in reply to: Anzeigeprobleme bei color section mit diagonal border #1054111no – without life link and looking with developer tools to it. Your setup might have some custom code we could not reproduce.
PS: the whitespace did work on my end – you see my setup above? This i testet on my page. And the masonry does not go over the slant.
https://webers-testseite.de/robaldo/And by the way – if there are no transparency needs – do use jpg.
And if you use jpg – try to optimize them for web ( f.e. in photoshop via save for web and take a higher compression level.
Your mission-6.jpg has 3MB – that is the reason why the image needs too long to load. You can have that image nearby 460kb without visible loss of qualitydid you read my comment above?
if it is the only option try the question mark:
http://www.rustis.it/wp-content/uploads/2019/01/RUSTIS_STILL-LIFE_1.mp4?iframe=true
And you see on small screens that you have to do some extra css
or just to set up that css for screens over your break point for mobile:@media only screen and (min-width: 768px){ .avia-image-container.overlap-image { position: relative; top: -200px; } }
And you can have sliders above too etc.
you have to have than image as png file with cut-out form.
That was my test setup:
click to enlarge it –
the image alb gets a custom class ( on my case it is: overlap-image )
this comes to quick css:.avia-image-container.overlap-image { position: relative; top: -200px; }
or take some relative dimensions like top: -15vw or 10% etc. play a bit on that.
see result – better wouid be to have the image totaly as cut-off.
https://webers-testseite.de/overlap/Unfortunately Duplicator is not multi-site compatible. Therefore I got Updraft for this case. This works perfectly. But it’s not cheap. But it does backups automatically and sends them to me in zip form – depending on the setting also encrypted on my ftp server.
if you only want to extra style the category archive page but not the posts ( post then get standard layout set by Enfold options page):
add_filter('avia_layout_filter', 'avia_change_category_layout', 10, 2); function avia_change_category_layout($layout, $post_id) { if( is_category('grafik') && !has_category('grafik') ){ $layout['current'] = $layout['sidebar_right']; $layout['current']['main'] = 'sidebar_right'; } return $layout; }
just play a bit with both filters
and by the way if you like to exclude the layout for archiv-page and all the post in it you can use has_category()
if( is_category('grafik') || has_category('grafik') ){
hm seems not to work in that supposed manner.
I will brainstorm again. …Edit: it seems to be this way that the layout of the category will go to the post in that category !
But you can bypass it by f.e.
(maybe a mod knows a different setting – quiet shorter):add_filter('avia_layout_filter', 'avia_change_category_layout', 10, 2); function avia_change_category_layout($layout, $post_id) { if( is_category('grafik') && is_archive() ){ $layout['current'] = $layout['sidebar_right']; $layout['current']['main'] = 'sidebar_right'; } return $layout; } add_filter('avia_layout_filter', 'avia_change_post_layout', 10, 2); function avia_change_post_layout($layout, $post_id) { if( has_category('grafik') && !is_archive() ){ $layout['current'] = $layout['fullsize']; $layout['current']['main'] = 'fullsize'; } return $layout; }
so here the archive page of category: grafik will be with sidebar right – but the posts in it has no sidebar.
-
This reply was modified 6 years, 5 months ago by
Guenni007.
there was a filter – you can adjust via if clauses to your needs:
add_filter('avia_layout_filter', 'avia_change_category_layout', 10, 2); function avia_change_category_layout($layout, $post_id) { if( is_category('grafik') ){ $layout['current'] = $layout['fullsize']; $layout['current']['main'] = 'fullsize'; } return $layout; }
Get rid of sidebar – where – on all archive pages or only for some category pages ?
both here either tag or archive:
add_filter('avf_blog_style','avia_change_tag_blog_layout', 10, 2); function avia_change_tag_blog_layout($layout, $context){ if($context == 'tag') $layout = 'blog-grid'; return $layout; } add_filter('avf_blog_style','avia_change_category_blog_layout', 10, 2); function avia_change_category_blog_layout($layout, $context){ if($context == 'archive') $layout = 'blog-grid'; return $layout; }
January 13, 2019 at 11:30 pm in reply to: Anzeigeprobleme bei color section mit diagonal border #1053445to have not the overlapping from the masonry over the slant : just put under the masonry a whitespace f.e. 100px
The slanting comes from the color-section on top and has the background-color of the following color-section.
So the following color section can do without borderstyling, unless it should have an own slanting.
But the borderstyling above : the top section border styling – there was the borderline perhaps you mentioned.But better would be a lifelink to say where it comes from
-
This reply was modified 6 years, 5 months ago by
-
AuthorPosts