Forum Replies Created
-
AuthorPosts
-
April 26, 2018 at 11:35 am in reply to: How to display Avia Post NAV with same category only #947205
can you try this in functions.php of your child-theme:
by the way if you are having child-theme every snippet offered here comes to child-theme functions.php – thats the trickadd_filter( 'avia_post_nav_entries', 'enfold_customization_postnav', 10, 2); function enfold_customization_postnav($entries, $settings) { $entries['prev'] = get_next_post($settings['same_category']); $entries['next'] = get_previous_post($settings['same_category']); return $entries; }
by the way Yigit – for what is the avia_sc_revolutionslider on shortcodes ?
Sorry for my new question: you did that code to funcitions.php of parent theme?
Than it is probably important where you inserted it – that is why i wrote:put this into your functions.php of your child-theme
or that ;) https://kriesi.at/support/topic/remove-avia-framework-debug-information/#post-946545
by the way you can alway overwrite via functions.php of child theme if a code starts this way:
if(!function_exists( …
have a look in functions-enfold.php
can you look what php Version is running on those servers?
ok – than you had to wait til mods are here.
April 25, 2018 at 8:06 pm in reply to: How to disable menu/ burger menu/ sub menu on specific page #9468193) you can set the top bar via functions.php of child theme:
add_filter('avf_header_setting_filter', 'avf_header_setting_filter_mod', 9999, 1); function avf_header_setting_filter_mod($header) { if(is_page(1625)){ $header['header_topbar'] = ''; } return $header; }
a display none is not displayed but allthough it is in the source-code
it would be nice to see a link. Otherwise, it is purely speculative
April 25, 2018 at 4:45 pm in reply to: CSS code in header to switch between Mobile header image & desktop header image #946695the logo itself is no background-image. For shrinking version you need a real image there :
you can change the logo by adding this to functions.php of your child-theme
if you want to have a different logo on mobile advices (even for ipad air etc)function avia_custom_mobile_logo(){ if(wp_is_mobile()){ ?> <script> jQuery(".logo img").attr("src", "http://path-to-mobile-logo/logo.png"); </script> <?php } } add_action('wp_footer', 'avia_custom_mobile_logo');
if you like to have a different logo for small screen width. – that is something different. – and on performance reasons it is always problematic to measure screen-width permanently. – so on this case a debouncing could be a good advice
function av_dif_mobile_logo(){ ?> <script> jQuery(window).load(function(){ if (jQuery(window).width() < 480) { jQuery(".logo img").attr("src", "http://path-to-logo/logo.png");} }); </script> <?php } add_action('wp_footer', 'av_dif_mobile_logo');
April 25, 2018 at 4:37 pm in reply to: ENFOLD 4.3: function for adding own Google font causes error #946689i know that code as well – but try this one – maybe it works (too)
add_action('wp_head', function() { ?> <link href="https://fonts.googleapis.com/css?family=Cinzel+Decorative:400,700" rel="stylesheet"> <?php });
Or your code only with false at the end – but try first the top code
function avia_add_google_fonts() { wp_enqueue_style( 'avia-google-fonts', 'https://fonts.googleapis.com/css?family=Cinzel+Decorative:400,700', false ); } add_action( 'wp_enqueue_scripts', 'avia_add_google_fonts' );
on my page on top: https://webers-testseite.de/edited-enfold-alb-elements/ i updated the new files for Enfold 4.3
i decided to not support older enfold from now on. so only the newest files are there to download.Or put a column in that color-section and set for the column Custom top and bottom margin negative margin
Can not confirm to that
Please do open https://webers-testseite.de/cynthia/logo-move/
and even if you do not accept and open another page the message pops up.April 25, 2018 at 1:30 pm in reply to: HOW DO I: Create a full width 1/4 1/4 | 1/2 layout – Looking for community input #946560April 25, 2018 at 1:07 pm in reply to: "Less than" sign < in title or text crashes the icon list #946550so we now had to use these phrases for the signs in input-fields like headings or caption-titles
'###lt###' => '<', '###gt###' => '>', '###amp###' => '&', '###91###' => '[', '###93###' => ']', '###quot###' => '"', '###34###' => "'"
by the way i shortend the code –
It is also very unlikely to hit such a string. In principle, you replace the & and the semicolon with the rhombus #'#lt#' => '<', '#gt#' => '>', '#amp#' => '&', '#91#' => '[', '#93#' => ']', '#quot#' => '"', '#34#' => "'"
PS : thanks – i know that Guenter could help in this case !
See here the icon-list in action : https://webers-testseite.de/cynthia/logo-move/First of all – you have here on that page more than one h1 Tag. This is something goolge f.e. do not like to see. A h1 heading should be unique as an ID per page.
To your headings and mobile advices. I can not reproduce your troubles. But i can only test it in firefox with ( alt cmd M )
Can you please show a screenshot of what your are talking aboutput this into your functions.php of your child-theme:
if(!function_exists('avia_debugging_info')){ function avia_debugging_info() { // } }
Loading of jquery in the footer seems to have troubles with shrinking header logo.
April 24, 2018 at 8:55 am in reply to: "Less than" sign < in title or text crashes the icon list #945742on using the entities it works the first time – but if you open the iconlist again all less than signs are gone and the iconlist in frontend does not work anymore. So no chance for a second edit or to add list points here.
April 23, 2018 at 10:27 pm in reply to: Header – Logo left, menu right – except on mobile devices #945583on mobile there will be a hamburger menu – the option of menu center is for the most advices not given – accept ipad 2 etc on landscape ?
there were possibilities to set this – but there must be alot of css additonal. (Scroll offset, etc.)
Try this in your functions.php of your child-theme:
add_filter('avf_header_setting_filter','av_change_header_layout'); function av_change_header_layout($header){ if(wp_is_mobile()){ $header['header_layout'] = "logo_center bottom_nav_header menu_right"; $header['bottom_menu'] = "header_bottom_menu_active"; } return $header; }
and this to quick css ( it depends on your header settings values):
.avia_mobile #header_main_alternate { border-top: none !important ; } .avia_mobile #header_main .container, .avia_mobile .main_menu ul:first-child > li a { height: 50px !important; line-height: 52px !important; } .html_header_top.html_header_sticky.avia_mobile #top #wrap_all #main { padding-top: 119px !important; }
see here a solution: https://kriesi.at/support/topic/checkbox-contact-formular-to-data-security-contract/#post-940989
you can input that in the Form Element Label:
<span>Ich habe die <a href="https://link-zum-Datenschutz" target="_blank">Datenschutzerklärung</a> zur Kenntnis genommen. Ich stimme zu, dass meine Angaben und Daten zur Beantwortung meiner Anfrage elektronisch erhoben und gespeichert werden. Hinweis: Sie können Ihre Einwilligung jederzeit für die Zukunft per E-Mail an (Email address hidden if logged out) widerrufen.</span>
Das Teil muß verpflichtend sein und nicht preselektiert sein.
well it is always best to see a link – but is it something like this here: https://webers-testseite.de/
from layerslider over the next color-section – or
like this here : https://kriesi.at/themes/enfold-hotel/April 23, 2018 at 12:43 pm in reply to: "Less than" sign < in title or text crashes the icon list #945378i tested it ( ampersand method ) – but it does not work as expected.
Maybe the other Günter can have a look at that. We need a coder here
-
This reply was modified 7 years, 6 months ago by
Guenni007. Reason: Günter needed
April 23, 2018 at 11:30 am in reply to: "Less than" sign < in title or text crashes the icon list #945358So i think the question is how to only replace those strings in frontend and not in backend.
if in shortcodes the< ;
and> ;
are seen the page shows correct – but on editing the iconlist again these strings are translated and the troubles start.April 23, 2018 at 8:46 am in reply to: "Less than" sign < in title or text crashes the icon list #945296ok – i ignored your reference – on iconlist headings it is a great desaster !
no solution for that ? !
try this : you had to test width and height if this fits:
#top .menu-item-search-dropdown > a:before { content: ""; width: 40px; height: 40px; display: inline-block; vertical-align: middle; background: url(https://url-to-your-image.jpg) no-repeat center center; background-size: contain; }
April 21, 2018 at 9:10 pm in reply to: SSL-Umstellung, AVIA Java-Script lädt unsicheres Bild nach #944970Seit der Umstellung von kriesi.at auf https liegen die Bilder auch ganz woanders.
Kannst du herausfinden in welcher color-section das liegt? Du siehst ja in der Demo welche color-section das sein soll : https://kriesi.at/themes/enfold-construction/ Einmal in dem Gelben und dann unten in dem Grauen BereichGehe also in die color-section die es betrifft und lade dort ein eigenes Hintergrund bild – das überschreibt das fehlende.
oder das Bild jetzt findest du in Vollauflösung unter: https://kriesi.at/themes/enfold-construction/files/2015/10/house-wire-model-fade-white.pngand your screenshot does not show the bottom of the list – where the newly added fonts are ! ;)
sicher aber du kannst ja das in ein media-querie setzen: ( musst selbst wissen wo dein hamburger menu startet)
@media only screen and (min-width: 990px) { .html_header_top.html_header_sticky #top #wrap_all #main { padding-top: 148px !important; } }
Das mit dem Padding-top für main hattest du gelesen. Das muss inline gesetzt worden sein –
egal setz mal bitte:.html_header_top.html_header_sticky #top #wrap_all #main { padding-top: 148px !important; }
-
This reply was modified 7 years, 6 months ago by
-
AuthorPosts