Forum Replies Created
-
AuthorPosts
-
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 8 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 8 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 8 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 8 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 8 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 8 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 8 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 8 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/ikomif these links are links all went out of your own url maybe this can help: https://de.wordpress.org/plugins/wp-links/
wp-links can add to every link leaving your url a target blank etcbut where is the difference (if you choose the right settings for masonry) accept that responsive behavior is much better for masonry !
http://webers-testseite.de/ikom/gallery/
click on the first image of masonry gallery please
there is a class added to header when shrinking has stopped: header-scrolled
so you might try this:
.header-scrolled .logo { display: none; }
if you want that only on ipad it is difficult to realize that. You have to set this rule in a media-querrie : see here Link
on Masonry Gallery there is the possibility to insert for each Image a custom link
wo sind die Tabs auf der Startseite von kriesi?
die Raute ist ausdruck der ID alle ID’s werden so vorangestellt; Anker machen nur mit ID’s Sinn.
auch im CSS wenn du der ID : Reiter1 eine Anweisung geben willst steht da:
#Reiter1: {}
das ist keine Eigenschaft von Enfold noch von WordPress – das ist Allgemeingut WWW
bitte berichtigt mich wenn ich da falsch liege
what kind of header did you use in enfold options ?
shrink – not shrink
sticky etc. pp -
AuthorPosts