Forum Replies Created
-
AuthorPosts
-
January 15, 2019 at 1:41 pm in reply to: Anzeigeprobleme bei color section mit diagonal border #1054118
These 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, 1 month 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
January 13, 2019 at 11:20 pm in reply to: Weird formatting issue but only on mobile devices #1053442Ok – thanks for response. It must have been something like this.
Well the other thing is – i can not reproduce that behavior – either on an older nor on the newest Enfold.
So it must be some custom settings that goes to that styling.January 13, 2019 at 11:32 am in reply to: Weird formatting issue but only on mobile devices #1053346but f.e. your about page does not have parallax handling for the first color-section background-image. But even here the color-section 2 got that parallax things ???
maybe that function in shortcodes.js :
$.fn.avia_mobile_fixed = function(options)
is responsible for that – because on your about page the image in color-section 1 is fixed.January 13, 2019 at 11:23 am in reply to: Weird formatting issue but only on mobile devices #1053344by the way: if you do not want to publish the link of your website, I advise you to make the links in the screenshot unrecognizable ;)
Nevertheless the link was a better source to help you: you have the colorsection above with parallax effect – but the following not!
On mobile there are strange behavior – because the following color-section got the same attribut. That might be a bug indeedJanuary 13, 2019 at 11:00 am in reply to: Anzeigeprobleme bei color section mit diagonal border #1053341First : you can have under your masonry a whitespace separator with f.e. 100px height.
Second: please look into your color-section settings after that one with the masonry. There are no borderstylings at all?Have you any link for us? Is it a selfhosted Video – or a Youtube ( Vimeo etc. pp.) one?
and by the way if you have only the url of the video ( like on selfhosted one ) try it with
?iframe=true
i guess it is always the case if there are more than one parameter added ( like on most youtube videos ) the first added Parameter got the questionmark “
?
” and all the others come with ampersand “&
“First of all – this is no parallax effect. The image on top is in fixed positioning.
There was a first color-section with the background-image.
The next color-section has on top a 1/1 column with an img ALB (centered) – that img is a png file with transparent background.
The 1/1 column can be set with negative Margin – so edit that column see on first tab : Custom top and bottom margin
Mark that Checkbox and give it a negative Margin:
(click to enlarge the image)
Not for that – your welcome
Aha here is the solution – and it comes to functions.php of your child-theme
thanks to Dudeadd_action('init', 'avia_remove_search_for_logged_out_users', 10); function avia_remove_search_for_logged_out_users(){ if(! is_user_logged_in()){ remove_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 9997, 2 ); remove_filter( 'avf_fallback_menu_items', 'avia_append_search_nav', 9997, 2 ); } }
well there is an if clause that could fit for your needs:
if(is_user_logged_in())
but the most elegant method would be to influence the header_searchicon from Enfold Options dialog.
This here only hides or shows the search – but better would be that there is no search in the menu
(comes to functions.php of your child theme)function login_state(){ if(is_user_logged_in()){ ?> <script> jQuery("#menu-item-search").css("display", "block"); </script> <?php } else{ ?> <script> jQuery("#menu-item-search").css("display", "none"); </script> <?php } } add_action('wp_footer', 'login_state');
maybe a filter like avf_header_setting_filter could do the needed trick – but i do not see how to ( on that early time )
is it a selfhosted Video?
try at the end of your video link to add:&iframe=true
by the way you can decide which buttons of tinyMCE are active for that case:
you only have to edit the tinyMCE details in the code above like:wp_editor( '', 'comment', array( 'textarea_rows' => 15, 'teeny' => true, 'quicktags' => false, 'media_buttons' => false, 'tinymce' => array( 'toolbar1' => 'formatselect | bold italic strikethrough | alignleft aligncenter alignright alignjustify | numlist bullist outdent indent ', 'toolbar2'=>false ), ) );
with this options it will look like this:
see here f.e. how to style: https://www.tiny.cloud/docs/demo/full-featured/
this here seems to work better: https://wordpress.org/plugins/edit-author-slug/
you will have then additional fields to customise the permalink structure and the shown name – which is not the loggin User name
Edit: if you want to create it afterwards – i guess you have to refresh permalinks and edit for each user the account info !
Depends on your passwords!
In principle you are of course right that the username should not appear – but f.e. the name ( Display name publicly as ) that was specified in the profile.
Maybe a mod knows a good replacement for those permalinks – not to use the username but the name instead.there was a little plugin for that : Display Name Author Permalink
so the permalink is with the nice-name and not the username.
And on meta description this name is set too: so your Name might be yellow-feather but your username is blue_bear ;)But i do not test it – i only read about that
if you like to use contact form 7 install that little honeypot plugin for CF7 too.
I got one customer who has the same troubles with spam – after installing cf7 and placing that honeypot field on his page he told me he got a lot less spam and without any captcha.i did not remove it but redirect it via htaccess entry to a custom portfolio entry.
like:
Redirect 301 /author/name/ https://homeurl/portfolio-item/name/
so you got your own custom things for the authors
-
This reply was modified 6 years, 1 month ago by
-
AuthorPosts