Forum Replies Created
-
AuthorPosts
-
ok than you have the right file – unzip it – a folder “enfold” was created with ( as you say tons of files and folders) – try to install it via ftp – upload the enfold folder to wordpress/wp-content/themes/
do not forget the css above to quick css (remove the other things you inserted concerning to that issue)
#cta.container_wrap { background: #f8f8f8 none repeat scroll 0 0; border-top-color: #dedede; } #cta .container { font-size: 36px; color: #555; padding: 20px; text-align: center; }
Probably you have loaded from Envato the whole package (themeforest-4519990-enfold-responsive-multipurpose-theme.zip) – and not the installable zip file. (it contains the documentation, the psd files Licensing Informatin etc. and the installable zip file )
So you don’t have the need to download the other file – unzip that bigger file.
it contains again a zip file called enfold.zip this is the file you can upload as installable file.But my advise is to make it via ftp – but both should work now !
August 10, 2017 at 4:44 pm in reply to: How can I pply CSS to animated numbers on a specific page #837053Try to make you familiar with using developer tools of your browser. In former times only a little plugin called firebug and firefox are good enough to show you all information about the source code.
nowerdays nearly all (safari likes to aktivate its developer tools) browsers have it implemented.
Mostly you can have information by right-mouse button (context menu) and choose something like “examine the element” on my firebug it looks this way f.e.i have my mouse over your nick here “AlfredoS” on board – using now my firebug opens a new window with on the left html-structure and on the right css rules concerning to that element. On top the more specific – on the bottom the inherited rules .
So here we see you nick here on board is an anchor with class bb-author-name – on the right you see that font-size is 12px and line-height is 16pxscrolling on left window-part (html-structure) to top we see that this body has the ID=top and the class is : postid-836358
etc. pp no magic just reading what happens on the code
sollte dir das hier gefallen, und auch wie es sich bei kleinen Screenweiten verhält, so sag bescheid, dann schreibe ich hier wie!
where did you inserted your code above ? because there is no p tag in your code – so where did it come from in the about page f.e. ?
if you use my code in functions.php of your child-theme it will affect all pages and post
function custom_before_footer_div() { ?> <div id="cta" class="container_wrap"> <div class="container"> Phone: 248.649.8604 </div> </div> <?php } add_action('ava_before_footer' , 'custom_before_footer_div');
And by the way you are thinking a bit complex.
Why do you choose capitalize and than make some span in it to go to lowercase, when you can choose for text-transform: none
That means the letters will show like you have entered them – big letters are big and vice-versa small are smallso that means one additional rule (maybe with !important ) to overwrite the uppercase instruction.
If you have your h1 allways in text-block elements ( the slider headings and heading from alb are not influenced) you can make your own rule via quick css
h1 { text-transform: none !important }
or you can use the advanced styling option ( Dashboard – Enfold – Advanced Styling) to set up the h1 rule with the possibility to set up here font-weight, letterspacing, color, font-family etc. pp.
The headings of sliders are not influenced because the rules are more specific than the simple h1 is. – means there are f.e:
.template-page .entry-content-wrapper h1
allthough the h1 rule is set to important the more specific rule above is not influenced by overriding through it.
- This reply was modified 7 years, 3 months ago by Guenni007.
show me a link to a h1 without inline css – than i try to help you.
btw: how do you set up inline css for heading alb element? or in a slider the headings ?
#cta .flex_column { text-align: center; }
_____________
by the way – enfold offers a lot of possiblities to hook.
on footer php there is thedo_action( 'ava_before_footer' );
so it could be a bit simpler to use this:for child-theme functions.php
function custom_before_footer_div() { ?> <div id="cta" class="container_wrap"> <div class="container"> 248.649.8604 </div> </div> <?php } add_action('ava_before_footer' , 'custom_before_footer_div');
for quick css
#cta.container_wrap { background: #f8f8f8 none repeat scroll 0 0; border-top-color: #dedede; } #cta .container { font-size: 36px; color: #555; padding: 20px; text-align: center; }
please give us a link to page where you used h1. I do not find after several klicks – all uppercase headings i found are h2 ones.
Sometimes those settings are made in demos via the enfold (or enfold-child) – advanced styling.
But to have a detailed look the direct link would be nicef.e. you got a rule ( i do not see where it comes from – because i guess you are using a minify tool) :
on that page: https://www.gardenstateloans.com/definitions/.template-page .entry-content-wrapper h1, .template-page .entry-content-wrapper h2 { text-transform: uppercase; }
change uppercase to none (maybe !important is necessary)
___________
btw. the dingdong sound would keep me away from watching the site.
August 9, 2017 at 1:39 pm in reply to: How can I pply CSS to animated numbers on a specific page #836372the thing is that portfolios do not have
.portfolio-id-xxx
as custom posts they got.postid-xxx
try to look to your source code – maybe i’m not right – but i think this is your faultso if your id is right try it with:
.postid-1654 span.avia-single-number { letter-spacing: 1px; font-family: “avant-garde-pro-bold”; font-size: 10px; color: #dfe0e1; }
August 8, 2017 at 3:04 pm in reply to: Adding a search function when using Enfold side menu as main menu #835870ok – i think this is the propper version of doing it:
this to funktions.php of your child-theme:
add_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 10, 2 ); function avia_append_search_nav ( $items, $args ) { if ((is_object($args) && $args->theme_location == 'avia') || (is_string($args) && $args = "fallback_menu")) { global $avia_config; ob_start(); get_search_form(); $form = htmlspecialchars(ob_get_clean()) ; $items .= '<li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown menu-item-avia-special"> <a href="?s=" data-avia-search-tooltip="'.$form.'" '.av_icon_string('search').'><span class="avia_hidden_link_text">'.__('Search','avia_framework').'</span></a> </li>'; } return $items; }
if you like you can style it afterwards with quick css !
and !!! you have to unstick the “Sticky Sidebar menu” – because the ajax searchresult preview is sometimes longer – so you have to be able to scroll down
August 8, 2017 at 2:12 pm in reply to: Adding a search function when using Enfold side menu as main menu #835842i’ve been looking for a hook into the main-menu itself now – but that was my first view attempt.
August 8, 2017 at 2:11 pm in reply to: Adding a search function when using Enfold side menu as main menu #835839i just switched my layout to left main menu – and i found a hook we can use for that in helper-main-menu.php
this to child-theme functions.php
add_filter( 'ava_inside_main_menu', 'avia_append_search_nav_mod'); function avia_append_search_nav_mod() { global $avia_config; ob_start(); get_search_form(); $form = htmlspecialchars(ob_get_clean()) ; $items .= '<div id="menu-item-search"> <a href="?s=" data-avia-search-tooltip="'.$form.'" '.av_icon_string('search').'><span class="avia_hidden_link_text">'.__('Search','avia_framework').'</span></a> </div>'; echo $items; }
and that to quick css ( play a bit with the values):#top #menu-item-search { margin-left: 15%; width: 70%; z-index: 100; } .avia-search-tooltip.avia-tt { left: 110px !important; position: relative; top: 5px !important; } .avia-search-tooltip .avia-arrow-wrap { left: 20px !important; right: inherit }
looks this way – click to enlarge:
- This reply was modified 7 years, 3 months ago by Guenni007.
if that is your intention ( i can not see private content) – the honeypot strategy is allready implemented by Contact Form of Enfold for security reasons.
Line 440ff of contact.php in shortcodes:
//fake username field that is not visible. if the field has a value a spam bot tried to send the form $elements['avia_username'] = array('type'=>'decoy', 'label'=>'', 'check'=>'must_empty');
- This reply was modified 7 years, 3 months ago by Guenni007.
Well i guess you have installed your Enfold with a Demo.
And second guess you have a demo on which the Header is in front of a dark background (like the Enfold2017 Demo) – on scrolling the header gets visible with a semitransparent background color.Enfold got for that header behavior two logos to upload. A Logo for that case and the upload is on Enfold – (or Enfold-Child) – Header – Transparency Options. So it might be good to make two different logos for that case. One for dark backgrounds and one for normal Behavior.
Transparency Logo and Transparency Menu Color to set here
by the way – you have to copy paste your changes in quick css to each language – this does not work in an automatic way
first of all did you update to the latest Woocommerce – because they get back to a less secure way.
and you should only use one of the snippets – some comments on the internet says that :
…can you provide some filter code for reducing the password requirement to 2 when you get a chance? Presumably if you use the woocommerce_min_password_strength filter you should not be using remove_wc_password_meter as that defeats the purpose.
so try to let the password_meter as it is and only use the last snippet – maybe with the 1
have you played a bit with the strength settings? maybe 2 is too high than take 1
function reduce_woocommerce_min_strength_requirement( $strength ) { return 1; } add_filter( 'woocommerce_min_password_strength', 'reduce_woocommerce_min_strength_requirement' );
in der Seite hat der Surrounding Container ein negatives top-margin
.optIn1 { margin: -2% 1% 0 10%; }
it will be best to have your page with the desired aim.
hm – you can try it with:
Strength Settings
3 = Strong (default)
2 = Medium
1 = Weak
0 = Very Weak / Anythingfunction reduce_woocommerce_min_strength_requirement( $strength ) { return 2; } add_filter( 'woocommerce_min_password_strength', 'reduce_woocommerce_min_strength_requirement' );
but be careful – a strong password saves not time but nerves. Test a password with 8 digits here – and see how long it will take to get it!
https://www.passwortcheck.ch/passwortcheck/passwortcheck- This reply was modified 7 years, 3 months ago by Guenni007.
https://www.youtube.com/watch?v=8SHiL4u7m_Y
Mit dem Update zur WooCommerce Version 2.5.1 kann man jetzt auch wieder mit einem schwachen Passwort einkaufen, aber die Anzeige der Passwortstärke ist weiterhin vorhanden.
this to your child-theme functions.php:
function wc_remove_password_strength() { if ( wp_script_is( 'wc-password-strength-meter', 'enqueued' ) ) { wp_dequeue_script( 'wc-password-strength-meter' ); } } add_action( 'wp_print_scripts', 'wc_remove_password_strength', 100 );
or you can use a little plugin for that: https://de.wordpress.org/plugins/password-strength-for-woocommerce/
- This reply was modified 7 years, 3 months ago by Guenni007.
but i guess in this case the tip of victoria is quiet the best. It comes from the autop function of wordpress.
you can try it via functions.php of your child-theme:remove_filter( 'the_content', 'wpautop' ); remove_filter( 'the_excerpt', 'wpautop' );
or if you only like to avoid autop in textarea element: make your own shortcode of textblock.php
find line: guess on newest version it is line 201
$params['innerHtml'] = "<div class='avia_textblock avia_textblock_style' data-update_with='content'>".stripslashes(wpautop(trim(html_entity_decode( $params['content']) )))."</div>";
replace it by:
$params['innerHtml'] = "<div class='avia_textblock avia_textblock_style' data-update_with='content'>".stripslashes(trim(html_entity_decode( $params['content']) ))."</div>";
- This reply was modified 7 years, 4 months ago by Guenni007.
August 2, 2017 at 12:35 pm in reply to: Tab Section: Pagination & Load More Not Working Correctly #833391oh – i will try too. isn’t there a functions.php trick to overwrite that orig function and set up the new function in child-theme?
Edit: see here (primitive but just to see what has changed! : https://webers-testseite.de/ajax-portfolio/
it seems not to work as expected.
The pagination leeds to tab 1
The container gets bigger on case one – load more button ! OK- This reply was modified 7 years, 4 months ago by Guenni007.
if you are familiar with shortcode handling here on enfold and how to edit your own shortcode element – the id is one of the less complicated fields of input to create. The array is allways the same to implement and you only have to add some lines to
$atts
and$defaults
and on output.But the magazine does have its own id allready so you can use the given id (av-magazine-1, …) – the only thing why this could be a good idea is to use it as anchor – adressing should go with class aswell.
For example – i made me a custom hr.php because sometimes i use that whitespace hr to adress with an anchor. It gaves me the opportunity to shift the link a bit.
yes but this will end in a nonvalide code – duplicate IDs. so – if grid element can have a count (av-layout-grid-1. etc.) why not the after_submenu ?
or change in code from id to class after_submenuhey victoria – nice but did you recognize the date of that post ?
can be closedhm – i can not confirm this form my installations. i tested it a few minutes ago and all three E-Mail Adresses were delivered ( newest Enfold and WordPress). if all fails on your server , maybe you can use the smtp method by using the plugin: WP SMTP Mail
you can see a tutorial here: https://www.siteground.com/tutorials/wordpress/send-emails-with-smtp.htmby the way you are talking about widget – but you mean the alb element of video or sliders.
Here is a slider : https://webers-testseite.de/kokon/spielwiese/
after the first film (you can skip it there is the youtube video and as it is said befor with ?rel=0 after the url.
Works well and responsive. A fullwidth slider can’t be responsive in the real manner.but don’t take
https://youtu.be/5guMumPFBag
take this as link:http://www.youtube.com/watch?v=5guMumPFBag?rel=0
not the embed and the short form.
btw if you like to have more options – maybe as an image link goes to lightbox film you can use it with
&
http://www.youtube.com/watch?v=5guMumPFBag?rel=0&autoplay=1&iframe=true&showinfo=0
etc. pp
or on that page i used :
https://www.youtube-nocookie.com/embed/5guMumPFBag?rel=0&controls=0&showinfo=0&autoplay=1
look what happens to – click that image beneath the slider
so you can even hide the player controls !- This reply was modified 7 years, 4 months ago by Guenni007.
-
AuthorPosts