Forum Replies Created
-
AuthorPosts
-
this thread of mine is a long time ago – and on this time i noticed that this code works well but makes the whole thing extremly slow !:
function svg_replace(){ ?> <script> jQuery(window).load(function(){ jQuery('.avia-msie-8 img[src$="svg"]').attr('src', function() { return jQuery(this).attr('src').replace('.svg', '.png'); }); </script> <?php } add_action('wp_footer', 'svg_replace');_____________________________________
On that time i thought a bit like you that every browser must handle an installation as well!
But now i think we have to weigh here.
A 100% browser compatibility and very slow ie8 reaction – and 97% browser combatibility to no Ie8 support .IE8 has a market share of 2% of 11% of all IE. Google Maps Api (and the other apis too) did not support IE8 – every IE8 Support has stopped from Microsoft.
So it is much more important that an installation works well on smartphones and tabletts.August 15, 2016 at 2:18 pm in reply to: Change the height of the bread crumbs container and vertical align #672648Well i do not recomend you to change the mobile behavior – floating left is best i think:
try this here
.avia-breadcrumbs { display: inline-flex; left: 50%; position: absolute !important; right: inherit !important; transform: translate(-50%); vertical-align: middle; }for mobile version you can try this:
@media only screen and (max-width: 767px) .responsive .title_container .breadcrumb { display: inline-flex; left: 50%; position: absolute; transform: translate(-50%); } }but best will be to know your site link to say something for your specific code
-
This reply was modified 9 years, 3 months ago by
Guenni007.
i found this on avia.js :
// bind events for dropdown menu
but to add here for mouseenter and mouseleave a milisecond value (like 2000) does not end in a satisfying result.
moving the mouse diagonal to the next level list point ends in same effect only slower.i think normal line-height in enfold (if standard font-size is set to 13px) 1.65em:
.page-id-185 .av_one_third .entry-content-wrapper * { font-size: 13px; line-height: 1.65em; }can you please post that code you inserted into your child-theme functions.php?
Maybe there is a little mistake .Or do you have imported some demo-files – and working on base of that demo import
Sometimes there are some changings in advanced styling – specially on headings (h1, h2, h3 etc. )
these rules overwrite standard settings.it depends on what to get smaller only the text in the p tags or the headings too etc. pp
if you only want to get this result on that specific page :
.page-id-185 .av_one_third .entry-content-wrapper * { font-size: 13px; }so everything following the .entry-content-wrapper will be effected.
if you want to have the h2 of the 1/3 column stay big you have to go deeper down: f.e:
.page-id-185 .av_one_third .entry-content * { font-size: 13px; }in this code the h2 aren’t effected.
i realy don’t understand your request :

please explain it a bit more precise
you mean you want to get rid of backlink copyright notice to Kriese?
goto Enfold Options – Footer – Copyright and put in your wanted text followed by [nolink] – this little shortcode removes the backlink
-
This reply was modified 9 years, 3 months ago by
Guenni007.
August 12, 2016 at 2:57 pm in reply to: Please how to remove powered by Enfold WordPress Theme #671836you can insert your own text into that field followed by [nolink] this little shortcode let the backlink disappear.
Enfold Options – Footer – Copyright
see here on kriesi’s blog page what happend to the logo when scrolling! you can avoid that disappearing of the text – very easy.
see here Link
Best is to be on a child-theme installation because every changing by updating your enfold theme will remain!
you can see a demo here on a testenvironment: webers-testseite.de/ikomyou can see that i like to use the normal site name and site description to insert the text besides the figurative part of the logo
PS : those values in quick css (left top etc.) depends on your text and figurative part of your logo – so you have to play a bit with them.
he wants to get rid of the ‘#’ hash sign. – but this is elementary component of ID links.
August 10, 2016 at 1:28 pm in reply to: Changing the colour of navigation bar while scrolling #670830well you can try it with transition:
f.e.: Link#header_main_alternate { background-color: #f50 } .header-scrolled #header_main_alternate { background-color: #0f7 ; transition: background-color 1s ease-in 0s }what kind of header have you choosen?
Logo left/right/center
navigation left/right/over or under Logo etc.i think there is no universal solution on that. For the page / post you need that you can do the rule above with .page-id class
you can see the result here: Link
f.e.:
.page-id-2766 #main { min-height: 100vh } .page-id-2766 #socket { position: fixed; bottom: 0; width: 100%; z-index: 999; }yes – but i don’t know if this here:
function include_custom_js_file() { wp_enqueue_script( 'avia-main-child', get_stylesheet_directory_uri().'/js/custom1.js', array('jquery', 'avia-default'), 2, true ); wp_enqueue_script( 'avia-main-child', get_stylesheet_directory_uri().'/js/custom2.js', array('jquery', 'avia-default'), 2, true ); wp_enqueue_script( 'avia-main-child', get_stylesheet_directory_uri().'/js/custom3.js', array('jquery', 'avia-default'), 2, true ); } add_action( 'wp_enqueue_scripts', 'include_custom_js_file', 100 );will work – or if you have to make each external js file has to be handled seperately.
i guess they have here a function on it:
function include_custom_js_file() { wp_enqueue_script( 'avia-main-child', get_stylesheet_directory_uri().'/js/j-js.js', array('jquery', 'avia-default'), 2, true ); } add_action( 'wp_enqueue_scripts', 'include_custom_js_file', 100 );and the last true is for footer !
don’t know if this works as well:
function wpdocs_scripts_method() { wp_enqueue_script( 'avia-main-child', get_stylesheet_directory_uri().'/js/j-js.js', array('jquery', 'avia-default'), 2, true ); } add_action( 'wp_enqueue_scripts', 'wpdocs_scripts_method', 100 );-
This reply was modified 9 years, 3 months ago by
Guenni007.
i think it might work in this way because they go to footer by default? :
edit: sorry i test it first in a test page
-
This reply was modified 9 years, 3 months ago by
Guenni007.
than i really don’t understand your request.
if footer is disabled the socket is at the bottom of the content! Isn’t it?thanks ismael but it does not work. The class still is there on all clicked buttons.
the code of that segment :<div itemprop="text" class="iconbox_content_container "><div class="togglecontainer toggle_close_all avia-builder-el-15 avia-builder-el-no-sibling enable_toggles"> <section class="av_toggle_section"> <div data-tags="{Alle} " class="single_toggle"> <p data-fake-id="#toggle-id-3" class="toggler activeTitle">Toggle 3</p> <div class="toggle_wrap" id="toggle-id-3-container" style=""> <div class="toggle_content"> <ul> <li>Toggle Content goes here</li> <li>Toggle Content goes here</li> <li>Toggle Content goes here</li> </ul> </div> </div> </div> </section> </div> </div>the activeTitle class is in the p tag above – and you see these “Toggles” are no Siblings in the real meaning of the sense.
They are single Toggles but on the same page.With the class active_tc it works perfect but you gave me the correct hint:
This code ( don’t ask me why) works:function only_one_toggle_open_at_the_same_time(){ ?> <script> (function($){ $(window).load(function() { $('.toggler').on('click', function(){ $('.toggler').not(this).next().removeClass('active_tc'); }); $('.toggler').on('click', function(){ $('.toggler').not(this).removeClass('activeTitle'); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'only_one_toggle_open_at_the_same_time');can be closed (wow soon i got my 1000 postings here)
hm – why so complicated ?
the downloaded zip file contains all of those things a fontello zip file includes.
I uploaded that zip-file from http://jpswalsh.github.io/academicons/
goto import/export of enfold options – goto iconfont manager and select that zip file. Bingo.From now you can handle all icons as a native iconset in enfold !
Font-family is than Academicons and the hexcode you can determin via a post and an insertion of an icon – by hovering those icons you see the hexcode of that glyph.Or see here and count from ue900 to ue935 (from left to right)
see here the use as icons in enfold: http://webers-testseite.de/ikom/academicons/try this one here please:
#socket { position: fixed; bottom: 0; width: 100%; z-index: 999; }but i think this does not work good on mobile or tabletts
hi josue
the functions.php – works well on that but now i want to influence the color of the activeTitle too!
the active Title on the page has got the Class: activeTitle
how do i get rid of that similar to active_tc ?Thanks – i guess Josue knows how :wink
PS : i think the line it depends on in shortcodes.js is on 2528
Ismael did the trick i read in the thread by deleting the content and setting up a background-image:
.format-image .small-preview [data-av_icon]::before { background: url(path to your image) no-repeat scroll center center / contain ; content: ""; height: 70px; left: 5px; position: absolute; top: 5px; width: 70px; }works too !
i do the css trick by setting up display: inline-flex.
the link above from Yigit is best if you want to change it with another “font” icon
if you like to change it with a colored logo this above should work.try this here :
.format-standard .small-preview [data-av_icon]::before { content: url("path to your image"); display: inline-flex; height: 70px; position: relative; top: 5px; width: 70px; }edit : sorry it has to be more selective
this is for : http://webers-testseite.de/ikom/blog/ see the wordpress logo instead of pencil !
for the following sites do it in a similar way !
-
This reply was modified 9 years, 3 months ago by
Guenni007.
i prefer Yigits last link.
if you look to this site (Kriesi Blog Site / Support Forum) and what happend to the logo on shrining this will be one part of the solution. you can let those text stay (the rule of #top .header-scrolled .logo-title on the bottom set opacity to 1) if shrinking has stoppedi changed a bit that code to insert the normal site name and site description of wordpress. So you only have to have the figurative Part of your logo and put in the text via code (this comes to child-theme functions.php):
add_filter('avf_logo_subtext', 'kriesi_logo_addition'); function kriesi_logo_addition($sub) { $sub .= "<span class='logo-title'>"; $sub .= get_bloginfo( 'name', 'display' ); $sub .= "</span>"; $sub .= "<span class='logo-title logo-subtitle'>"; $sub .= get_bloginfo( 'description', 'display' ); $sub .= "</span>"; return $sub; }than you have to manage your customisation via quick css – something like this (it comes to quick css):
#top .logo, #top .logo a { overflow: visible; } #top .logo-subtitle { color: #aaa !important; font-size: 18px !important; top: 20px !important; } #top .logo-title { transition: opacity 0.4s ease-out; -moz-transition: opacity 0.4s ease-out; -webkit-transition: opacity 0.4s ease-out; -o-transition: opacity 0.4s ease-out; font-size: 12px; color: #000; position: absolute; left: 7px; top: -7px; opacity: 1; white-space: nowrap; } #top .subtext { float: left; position: relative; } #top .header-scrolled .logo-title { opacity: 0; filter: alpha(opacity=0); }the overflow: visible instruction here is very important
you can see the result on testpage here: http://webers-testseite.de/ikom/
-
This reply was modified 9 years, 3 months ago by
Guenni007.
Everything works fine on my sites –
btw. it lasts at least 15min till the new edited key is active ! Google Server seems to be a bit overloaded the last time.header-scrolled .header_bg { background-color: #fff !important; }you even can use rgba or something else
try it with this code
edit : a sorry i will have a look – you only want the background behind navigation
.header-scrolled #header_main_alternate { background-color: #fff !important; }-
This reply was modified 9 years, 3 months ago by
Guenni007.
nicht dafür – gerne –
gerne auch die Ansicht deiner neuen Seite dann mal als link – über mein Avatar kommst du zu meinen Kontaktdaten denke ich – da ich eine url hinterlegte.
siehst ja das Josue mir damals sehr gut geholfen hat.
Ich habe mir im Übrigen hier angewöhnt solche Tips in eigenen Dateien zu sammeln (css und php) – das war jetzt Zufall, dass ich mich an den Thread von Damals erinnerte, die Lösung jedoch hatte ich hier gespeichert.Ähnlich dem hier: http://kriesi.at/documentation/enfold/code-snippets/
Bis dann
Ach – ist das für kleine Screens (mobile / tablet) geregelt – sieht es gut aus – sonst mußt du da nochmal einen Thread neu öffnen, weil der denke ich dann bald geschlossen wird.
-
This reply was modified 9 years, 3 months ago by
Guenni007.
the header background is set up in class : header_bg
but i don’t know your site so i do not know if this will look nice – maybe a semitransparent header is better like:
(see testsite above too with a semi transparent blue now).header-scrolled .header_bg { background-color: rgba(70, 120, 174, 0.8) !important; }-
This reply was modified 9 years, 3 months ago by
Guenni007.
btw. what do you mean by hide the white background?
The logo plus header background-color ?well i remember a question i had – that shrinking function does not work on ipad:
so read here for the solution: https://kriesi.at/support/topic/shrinking-header-on-ipad-does-not-work/#post-575345
the code you have to insert in your child-theme functions.php is:
function incluide_custom_js_file() { wp_enqueue_script( 'avia-main-child', get_stylesheet_directory_uri().'/js/main.js', array('jquery', 'avia-default'), 2, true ); } add_action( 'wp_enqueue_scripts', 'incluide_custom_js_file', 100 );you see that the custom script is loaded out of the folder in your child-theme folder “js”
here is Josues link: https://gist.github.com/josueochoa/66beec77cfa7a21e81b8the main.js file you see in the link of josue (copy/paste the code in a file and name it main.js) upload that main.js to js folder in your child-theme folder via ftp.
now shrinking on ipad works and if you put in now my code above the things got to work:
see here http://webers-testseite.de/ikom -
This reply was modified 9 years, 3 months ago by
-
AuthorPosts
