Forum Replies Created
-
AuthorPosts
-
If you have downloaded the svg – you can open the svg in a good text editor.
F.e. on OSX with sublime text or on Windows notepad++you can see that the structure of a svg file is similar to a html code. There are styling infos and a heading part. etc. pp.
on illustrator you can group objects. You can have layers and you can place images f.e. that man as a png file with transparent background – and place it where you like.

On saving as svg you can decide if the image is embeded (as base64 png file) or just link to it. For your usage the embedded image is best.
But makes the svg bigger.The groups in illustrator are in the svg code represented by the
<g>– tag and can have on that ID and classes.
If a group is surrounded by an<a xlink:href="https://webers-testseite.de/" > … </a>they can link to what you like.See f.e. this svg: https://webers-testseite.de/pureinstall/wp-content/uploads/test2.svg
it is nearly the same as the svg above – but has a little info in head area of svg:
preserveAspectRatio="xMinYMin meet"
that means the svg shrinks to the top left corner xMidYMid would be the center center etc. pp.And you do not like to use the advanced layerslider on that?
______
Next hint: if you are in illustrator – why don’t you save the image as svg ( and embed images – this man in overalls )
then use the svg as inline svg – you can have links in areas – on headings etc. pp in your svg – that is the
<a xlink:href="url" > svg group </a>option
look at – and hover the enter now on this: https://webers-testseite.de/pureinstall/wp-content/uploads/test.svg-
This reply was modified 5 years, 6 months ago by
Guenni007.
i often remove the import demo options for non admins. Because importing a demo removes all other content and settings.
If you like to completely obfuscate the options styling try this.
those who know where to find aren’t hampered to use it anyway. But on exidentily usage maybe this is helpful:function admin_head_mod() { if(!is_admin()){ echo '<style type="text/css"> #avia_options_page .goto_styling, #avia_options_page #avia_styling { display: none !important } </style>'; } } add_action('admin_head', 'admin_head_mod');June 17, 2020 at 12:30 pm in reply to: Function to limit number of charcaters in a specific textblock #1223339well i guess the excerpt codes could be transformed to a given selector f.e.:
function limit_character_length(){ ?> <script> (function($){ $(window).load(function(){ $('.av_textblock_section').each(function() { $(".avia_textblock > p").text(function(index, currentText) { return currentText.substr(0, 50); }); }); }); })(jQuery); </script> <?php } add_action('wp_head', 'limit_character_length');i guess its best to see your site to give better advice.
i think it would be best to have on text editor a character counter.
Unfortunately the word counter has also disappeared when using the Advanced Layout Builder in the Text Editor.June 17, 2020 at 11:22 am in reply to: Function to limit number of charcaters in a specific textblock #1223315There are some usefull codes to limit excerpt length ( characters or word count ) but for a normal textblock I can’t think of anything right now for a specific content – f.e. for a given content in a textblock with id or class etc.
if you use that png above from my post : allthough it is set to #eeeeee it is rendered as : #ececec
so if you do not like to see a difference you can change the color-section background to that #ecececNext: you had to replace every background-image on your page. You did it only for the first one.
- add to your main menu two home links
- open the top home link (1) to see the menu-item settings by clicking on that little arrow on the right of the menu list point
- you can now enter on navigation label (4) an img src html like:
<img src="/wp-content/uploads/logo.png" alt="logo" /> - if you can not see in that menu item settings dialog the classes – you had to open on top of your window that flyout “Screen Options” (2) and mark the needed fields ( custom classes )
- that first home link (1) menu item gets now a meanigfull name f.e.: only-burger
- just a bit in quick css:
#avia-menu .only-burger.menu-item { display: none !important } - now to get rid of second home link on hamburger menu – you know what to do?
f.e. give a custom-class to that home menu-item : only-desktop - so you have now for both :
#avia-menu .only-burger.menu-item, #av-burger-menu-ul .only-desktop { display: none !important }
Solution is private :) ;)
June 16, 2020 at 3:18 pm in reply to: Lightbox not working (appears for a second and then redirects to the image file) #1223063First a very fundamental question: you went from a very early version to the current one?
Because the lightbox has a lot of changings in the header.php file – so if your child has an older header.php file you had to update that child-theme file first.
If this is not the case – then we had to look what could cause the error._____________
Have you checked in enfold theme-options the Lightbox Modal Window

because i do not see in your source code the loading of the avia-snippet-lightbox.js script
this is a problem on many wordpress themes – Günter here wrote a little plugin for it: https://github.com/KriesiMedia/enfold-library/tree/master/integration%20plugins/Enfold/Special%20Character%20Translation
It is based on the usage of entities – but even if you can use on those places an entity – you will not see it after editing in your backend.
f.e. you can use a softhyphen to set on headings a “predetermined breaking point” for long headings. But if you want to edit again – this sign is lost.so this little plugin sets a softhyphen when it comes to a : ###shy###
on that link above you see a translation.txt – there you got some replacements.
The only thing i changed is not to have 3# before and 3#after and i have added some special characters.
this is my list in that plugin:

But you had seen my answer – and have followed the link above?
https://kriesi.at/support/topic/lightbox-gallery-captions-not-showing/page/2/#post-1221506
and if you like to have all in the bottom bar, just change the markup on top – and move the mfp-title div to the bottom bar.there are a lot of settings – some you can set on the editing mode of that page like transparency but i let it in the code to show you how.
this code comes to child-theme functions.php:add_filter('avf_header_setting_filter','av_change_header_layout', 10, 1); function av_change_header_layout($header){ if(is_page(123456)){ // for example like the choice in enfold options: logo: left menu: right $header['header_position'] = 'header_top header_stretch'; $header['header_class'] .= " av_header_top av_header_stretch"; $header['header_layout'] = 'logo_left menu_right'; $header['header_class'] .= " av_logo_left av_menu_right"; // for example you like to have header transparent and glassy $header['header_transparency'] = 'header_transparency header_glassy'; $header['header_class'] .= " av_header_transparency av_header_glassy"; // header sticky (by the way the space on adding class is important) $header['header_sticky'] = 'header_sticky'; $header['header_class'] .= " av_header_sticky"; } return $header; }so let all what you can not directly set in the page on top – the rest you can erase
you see that there is a space when adding a class by .= let it in the code.June 15, 2020 at 2:29 pm in reply to: Sort by Caption rather than by Title – Mod Assistance if possible #1222658Is it important for you that the image title has a specific Value?
My Question: What if the titel is identical to your caption?you can see here in action: https://webers-testseite.de/pureinstall/
this is only one svg.
The letters are filled with different color on scroll down or if not transparency header.
The class in that svg for the letters is web9:#header.header-scrolled #letters .web9, #header:not(.av_header_transparency) #letters .web9 { fill: #112b3f; }June 15, 2020 at 11:20 am in reply to: Purchased Enfold theme – WordPress says it cannot load as it is out of date #1222601PHP 5.6: Support expires end of 2018
Security support for PHP 5.6 will expire at the end of December 2018. Already in January 2017 the developers stopped the function updates for version 5.6. The end-of-life date – i.e. the end of any support – was already postponed by one year back then, as the script language version PHP 5.6 proved to be extremely popular.
So I think you should check with your hoster to update.
PS: many hosters still offered their own support with security updates, but often this support was charged. So if you were informed that you had to pay for them, you should cancel this support after the change to newer versions.
these settings could be done by simple css – but if you want to style hover state or some transitions. It will be better to not have input but f.e. button tag here.
See example-page and hover this input-button: https://webers-testseite.de/pureinstall/alb-testseite/if you realy need this i do only see for now a plugin solution. There are a lot of good – especially for fotographers – that have this option on sorting by caption.
See Envira or NextGen Gallerywell – with filter : avf_header_setting_filter it may be possible.
what kind of header setting you like to have. Maybe show an example page on demo pages : https://kriesi.at/themes/enfold-overview/or – you replace the img src svg with the inline svg.
and then you can go and style the fill colors:function replace_logo_with_svg() { ?> <script type="text/javascript"> (function($) { function a() { $( ".logo a img" ).remove(); $.get('/wp-content/uploads/YOUR-LOGO.svg', function(svg){ $( ".logo a" ).html( svg ); }, 'text'); } a(); })(jQuery); </script> <?php } add_action('wp_footer', 'replace_logo_with_svg');after you have the inline svg file – you had to change some display options for logo
set it to display flexi will check – if it is done by enfold settings. sorry.
can you try:
.avia_ajax_form .button { border-radius: 5px; text-transform: uppercase !important; }-
This reply was modified 5 years, 6 months ago by
Guenni007.
June 12, 2020 at 7:38 pm in reply to: Mobile Darstellung PARALAX und FIXIERTE Backgroundfotos #1222167yes – I guess you’re right. But for now you can help yourself by giving this class to the Color-Section and leaving the background image on scroll in the options of the Color-Section.
By initially leaving it on scroll you prevent the mobile devices from creating this extra parallax container.June 12, 2020 at 7:22 pm in reply to: Animate text on page so it pops up/fade in when you scroll. #1222163have you seen your hamburger menu on ipad portrait ?
Maybe it is just a mediaquery problem. ( 768px til 1118px ) the menu must be styled.
It is hard to find out on a merged css with developer tools.
i guess that problem is more urgent than the popup on scroll.With this scroll problem I will build a page, and see if it does not work.
-
This reply was modified 5 years, 6 months ago by
Guenni007.
yes – of course – if there is a better syntax let me know.
I changed a little bit the code – with better markup – because it is better to have mfp-title is Title – that’s not so confusing then-
This reply was modified 5 years, 6 months ago by
Guenni007.
what maybe a nice thing to have here is – if that button is clicked an automatic theme settings file will be generated and f.e. saved in dynamic_avia folder.
-
This reply was modified 5 years, 6 months ago by
Guenni007.
can you try this in your child-theme functions.php:
and upload the edited file to your child-theme/js/ folder ( on default there is no folder js – create one )
( although in this case it would not be necessary to use the folder structure of the parent theme i think it looks more logical. )add_action( 'wp_enqueue_scripts', 'wp_change_lightbox_script', 100 ); function wp_change_lightbox_script() { wp_deregister_script( 'avia-lightbox-activation' ); wp_enqueue_script( 'avia-lightbox-activation-child', get_stylesheet_directory_uri().'/js/avia-snippet-lightbox.js', array('avia-default'), $vn, true); }PS: do not forget to include:
a[href*=".webp?"]– similar to their syntax.but i believe that the asterisk selector
a[href*=".webp"]will be enough and includes :a[href$=webp]-
This reply was modified 5 years, 6 months ago by
Guenni007.
Best would be to install Contact Form 7 – it has that implemented allready in a way that it is more save than other methods.
You can set a limit for upload depending on file format – you can limit fileformat there too – ( f.e. only pdf , jpg , png files are allowed) etc. pp.
You can even style it as drag&drop field with preview image below:

-
This reply was modified 5 years, 6 months ago by
Guenni007.
could be too many things – best would be to see the page it concerns
Best would be to the site it concerns.
-
This reply was modified 5 years, 6 months ago by
-
AuthorPosts



