Forum Replies Created
-
AuthorPosts
-
February 8, 2018 at 11:11 am in reply to: Color Section Video Not Playing on Safari or Apple Devices #909687
update to enfold 4.2.3 this solves my trouble concerning to that topic.
if the automatic update is not shown on Enfold Options – update via ftp – It’s the safest way anyway
February 8, 2018 at 10:16 am in reply to: having for custom post type "event" the avia-post-nav too #909664i inserted this code – and it works with an if clause
add_filter('avia_post_nav_settings', 'avia_post_nav_settings_mod'); function avia_post_nav_settings_mod($settings) { if(is_singular('portfolio')) { $settings['taxonomy'] = 'portfolio_entries'; $settings['same_category'] = true;} if(is_singular('event')) { $settings['taxonomy'] = 'event-categories'; $settings['same_category'] = true;} return $settings; }
February 8, 2018 at 10:01 am in reply to: having for custom post type "event" the avia-post-nav too #909654hm – it is one code in functions.php of child-theme
but i need it for portfolio to only navigate the same cat.add_filter( 'avia_post_nav_settings', 'enfold_customization_same_cat' ); function enfold_customization_same_cat( $s ) { $s['same_category'] = true; return $s; }
February 8, 2018 at 9:05 am in reply to: having for custom post type "event" the avia-post-nav too #909635From my part yes – but customer allready has a working account to edit Pages and Posts –
– because I’m interested in it in general, I just wanted to create your own test environment. There it works without further adjustment. Therefore, I will now first look at why it goes in one installation and the other not.Yes Ismael but i do not see the instruction on top how to get the new font icon – or i missed it.
your code here only works if font gplus is present ? isn’t itthe other method is for people who wants to have the right logo color and not a greyscale color.
A lot of those examples are very nice .
But sometimes i see here some SSL (https) pages which show no save symbol in url window.
The last of unicaweb f.e. – this is a nice website but your logo seems to be loaded as http.
have a lookor if you like to have a colored g+ logo
upload a png file like :and add this to your quick css:
.social_bookmarks_gplus [data-av_icon]::before { content: "\00a0\00a0\00a0"; width: 30px; height: 30px; background-image: url(/wp-content/uploads/google-plus.png); background-size: cover; background-repeat: no-repeat; } #top #wrap_all .av-social-link-gplus:hover a { color: #fff; background-color: #eadd4e; }
background-color on hovering it is your part to declare it
by the way : on documentation it is also not correct.
The font-name is entypo-fontello not only fontello !1) if you had to have the new icon – go to fontello : Link
2) in fontawesome there are these new signs – choose theme (best all 3)
3) name the font on top ( i named it gplus)
4) download the created zip file and
5) Go to your enfold import/export – and import that fontello font (it is now gplus font-name)
6) (you have to know the new code of the wanted icon) – f.e. create a new page and insert an iconbox and on hovering in the iconbox alb element – icon choice the wanted icon – the bubble info text shows you the hex-code
7) To substitute the standard icon of enfold insert this code to your functions.php of your child-theme:add_filter('avf_default_icons','avia_replace_default_icons', 10, 1); function avia_replace_default_icons($icons){ $icons['gplus'] = array( 'font' =>'gplus', 'icon' => 'uf0d5'); return $icons; }
Thanks
February 7, 2018 at 7:22 pm in reply to: having for custom post type "event" the avia-post-nav too #909353i transformed it to events manger :
add_filter( 'avia_post_nav_entries', 'avia_post_nav_settings_mod', 10, 1); function avia_post_nav_settings_mod($settings) { if(is_singular('event')) { $settings['taxonomy'] = 'event-categories'; } return $settings; }
but with no luck. There is on the left side a look alike button which slides out – but it shows the actual event and click leads to itself.
is it possible to get rid of that transparency test via
avf_header_setting_filter
?it was possible to activate the secondary menu without having elements in it via:
add_filter('avf_header_setting_filter', 'avf_header_setting_filter_mod', 9999, 1); function avf_header_setting_filter_mod($header) { $header['header_secondary_menu'] = 'extra_header_active'; return $header; }
so there must be a filter look like this to have output of breadcrumb even vor transparency headers ?
so i can destroy the test-page with your images!
If you haven’t transparency headers – everything is ok on updating the parent theme – but with transparency header option
think of commenting that line out in Parent-theme will get lost on update. So you have to do it again in this case.
I don’t know how to do it via child-themeFebruary 7, 2018 at 2:15 pm in reply to: having for custom post type "event" the avia-post-nav too #909159if i change that code to code above.
the events will have post-nav – but portfolio post-nav is gone.
i’m not so familiar with ternary operator – how can I formulate the code?February 7, 2018 at 2:11 pm in reply to: How to animate transition from transparency to non transparency header #909155no – thanks – can be closed
February 7, 2018 at 10:15 am in reply to: How to animate transition from transparency to non transparency header #908989did you see the private content url?
But you brought me to the right solution. Since the header-bg gradient was defined as background-image – I have to put the transition to all.
And to have it to and fro – it has to be set on both.header_bg { opacity: 1; filter: alpha(opacity=100); -webkit-transition: all 2s ease-in-out; transition: all 2s ease-in-out; }
#top .av_header_transparency .header_bg { background-image: -ms-linear-gradient(bottom, rgba(255,255,255,0.001) 0%, rgba(255,255,255,1) 45%); background-image: -moz-linear-gradient(bottom, rgba(255,255,255,0.001) 0%, rgba(255,255,255,1) 45%); background-image: -o-linear-gradient(bottom, rgba(255,255,255,0.001) 0%, rgba(255,255,255,1) 45%); background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgba(255,255,255,0.001)), color-stop(45, rgba(255,255,255,1))); background-image: -webkit-linear-gradient(bottom, rgba(255,255,255,0.001) 0%, rgba(255,255,255,1) 45%); background-image: linear-gradient(to top, rgba(255,255,255,0.001) 0%, rgba(255,255,255,1) 45%); background-color: transparent !important; -webkit-transition: all 2s ease-in-out; transition: all 2s ease-in-out}
and one important thing has now become clear to me – i had to set the background-image of the header_bg without transparency too – to the same values. Now it looks prettier and not so harsh
Thanks – can be closed
so now it is better – but you have to set the display of logo for responsive case to :
see small screen !.logo img, .responsive .logo img { display: none }
by the way you don’t need to insert the svg via functions.php.
if you have svg enabled as mime type you can load it as enfold logo in enfold options dialog.
the only thing to do is via quick css to give the svg a width information. !maybe this header type is ok for you – i will give you the info how to setup enfold for overlapping logo.
https://webers-testseite.de/bernhard/don’t mix sub and sup
you set here a sub!
.page-id-18798 sup { top: -0.3em; }
February 6, 2018 at 12:13 pm in reply to: having for custom post type "event" the avia-post-nav too #908520well the function itself is with (
if(!function_exists('avia_post_nav'))
) – so a copy of the whole function in child-theme functions.php will overwrite the whole thing.
i can set here after$settings['type'] = get_post_type(); $settings['taxonomy'] = ($settings['type'] == 'portfolio') ? 'portfolio_entries' : $taxonomy; $settings['taxonomy'] = ($settings['type'] == 'event') ? 'event-categories' : $taxonomy;
than it will work for events – but portfolio support is than away.
i do not see how to set here an if clause (if $settings[‘type’] == ‘event’ etc …)or if it is always the “tonos” try the entitie for it:
΄
orʹ
sites.psu.edu/symbolcodes/languages/ancient/greek/greekchart/#punct
by the way a very interesting page – maybe this could be for you relevant:
http://sites.psu.edu/symbolcodes/languages/mideast/hebrew/hebrewchart/׳א
by the way : on headings it is not so important but on text-block it might be a good idea to have not the line-height disturbed by up and down positioning.
it seems that these values preserve line-height on most cases:sub, sup { font-size: 0.75em; line-height: 0; position: relative; vertical-align: baseline} sup {top: -0.5em} sub {bottom: -0.25em}
and maybe you will have than different values for your headings
h1 sup …
h2 sup etc ppit will be better to see the online page and the links to it.
i do not know why – because em is a relativ to parent settings value ?
first the sub and sup has an implemented font-size : smaller
maybe you overwrite it first by:sup, sub { position: relative; vertical-align: baseline; font-size: 1em; top: -0.4em; }
and look what happend than
if we do not find a different solution i would do it this way:
sup, sub { position: relative; vertical-align: baseline; } .page-id-abc sub { top: 0.4em; } .page-id-abc sup { top: -0.4em; } .page-id-def sub { top: 0.8em; } .page-id-def sup { top: -0.8em; }
etc. pp.
make your own rules (normal value is 1.4em – thats the reason for your result)
sup, sub { position: relative; vertical-align: baseline; top: -0.4em; } sub { top: 0.4em; }
sub is for H<sub>2</sub>O
February 5, 2018 at 5:04 pm in reply to: How to use Avia Layout Builder in custom post types (made with Toolset-plugin)? #908100by the way this is allways the case if code is posted here on board without using the code tag. The boardsoft compiles these signs.
you see it on your code here: Link – the quotationmarks are kind of italic version of the normal
'
is it a bug of the font or does f.e. the quotes and punctuation generally do not go over the top line on black or ultrablack font style?
i know a lot of fonts where this is the case especially if you are writing capitalized only.Can you try this here :
ABCD<sup>'</sup>FGH
see here: Link
but you sign seems to be a bit of a ligature with its following letter.
thats why for example the entity for german signß
isß
it is a s and a z with ligature styling
some interesting things here: LinkWell – i guess – even if you take a svg file instead ( if you have that – take it – if you could not upload it we will help you how to)
the subtext in your logo (Fachärztin…, Psychotherapie, Psychoanalyse) is too small to be legible.
And if i see your gradient in the “Snake” i think you have taken a 8bit png file – why not a 24bit ( it is nearly the same size and the gradient looks much better and sharper.yes – and if you like to change the alt text for logo:
add_filter('avf_logo_alt', 'avf_change_logo_alt'); function avf_change_logo_alt($alt) { $alt = "new alt text"; return $alt; }
By the way – dear Mods – how could a shortcode solve that problem.
I first tried to do it this way. but if the option of a breadcrumb isn’t set in editor for the page/post the shortcode does not work.
How to insert a shortcode via child-theme. Append it does not work – or do you know a way to do it?The way on top is a clean way – because it uses the existing breadcrumb – and only changes position!
by the way – i was wondering about performance ou your site : your images on top ( f.e. on http://www.tvsrbsa.org/early-bird-pre-order-sale/) are too big ! (think of loading time)
12MB as jpg ( opend it is nearly 70MB)
this here has 117kb (on full resolution – the image hoster shrinks it to 1200px width) and i think that is with its blur more than enought. your second on my testpage link in slider has 144kb.
or here with your kind of header and logo and your background: https://webers-testseite.de/weber/service/
Look here – i would do it with that duplikator plugin too – even this way from live to local.:
https://www.youtube.com/watch?v=NLYyecIXOU0On some ISP (internet sevice providers) the time out is low so on great databases sometimes the backup fails.
on that case you can exclude for example the uploads folder and up/download it via ftp manual.Duplikator is a great plugin. – but has no multisite support. On that case it will be a bit more complicated.
-
This reply was modified 7 years, 4 months ago by
Guenni007.
well to have it on sliders and on first-color-section too take instead:
function change_position(){ ?> <script> (function($){ $('div.avia-builder-el-first').each(function () { $(this).insertBefore($(this).prev('#main .title_container')); }); })(jQuery); </script> <?php } add_action('wp_footer', 'change_position');
https://webers-testseite.de/breadcrumb-under-sliders/
or here with your kind of header and logo: https://webers-testseite.de/weber/service/-
This reply was modified 7 years, 4 months ago by
Guenni007.
Choose to show breadcrumb on those pages you like to show!
you can try to change position of av_section_1 and the title container via functions.php of your child-theme:
function change_position(){ ?> <script> (function($){ $('#av_section_1').each(function () { $(this).insertBefore($(this).prev('#main .title_container')); }); })(jQuery); </script> <?php } add_action('wp_footer', 'change_position');
if you have transparency option – in this case the breadcrumb can be displayed – but i have to look in code where the breadcrumb output is prevented in this case.
Edit: on functions-enfold.php on line 824ff (Enfold 4.2.2) ( if you got older Enfold Versions – search for that)
to comment it out://deactivate title bar if header is transparent if(!empty($transparency)) $header['header_title_bar'] = 'hidden_title_bar';
so there is:
//deactivate title bar if header is transparent //if(!empty($transparency)) $header['header_title_bar'] = 'hidden_title_bar';
has the solution – if we could do this via child-theme ? i don’t know (now) how-to
see here in action (with transparency option): https://webers-testseite.de/breadcrump-under-first-color-section/
-
This reply was modified 7 years, 4 months ago by
Guenni007.
-
This reply was modified 7 years, 4 months ago by
-
AuthorPosts