Forum Replies Created
-
AuthorPosts
-
May 11, 2017 at 2:21 pm in reply to: Enfold Theme Option – Which file modify footer edition? #791644
i think all of these settings go to /wp-content/uploads/dynamic_avia/enfold_child.css (in my case on using a child-theme)
PPS: if you have to get for your old uploaded files the new format – you might use a plugin like force regenerate thumbnails
du kannst die ohne Gefahr aus einem nochmaligen unberührten Download wieder hochladen. Etwaige vorherige Änderungen sind aber damit weg.
ich empfehle dir aber wenn du Veränderungen an den Enfold Sprachdateien machen möchtest folgendes Prozedere:
Verwendung eines Child-Themes
im Child-Theme Folder einen Ordner “lang” anlegen
dorthin gehören dann die veränderten Kopien deiner Lang-Files (po und mo)in die functions.php deines Child-Themes:
function overwrite_language_file_child_theme() { $lang = get_stylesheet_directory().'/lang'; return $lang; } add_filter('ava_theme_textdomain_path', 'overwrite_language_file_child_theme');
ich benutze Old-School noch immer poedit (freeware und gut)
so gehen dir auch Veränderungen beim Update des Parent Themes nicht flöten.
Und PPS: wie gesagt der Eintrag der Sprache in der wp-config gehört da nicht mehr hin! Die wird ab WP 4.0 im Backend Dashboard eingestellt.
ich weiss nicht wie WP reagiert wenn es widersprüchliche Einträge hier hat (also im Backend Du und im wp-config :Sie) eventuell geht er dann auf default und schaltet auf englisch- This reply was modified 7 years, 6 months ago by Guenni007.
it is in /framework/php/ but you have to be able to read and interpret it as well
or you give us a link to that site an we will have a look if it is possible
sorry – yes
and the “true” concerns to crop behavior
and i think that choose is not necessary if you overwrite an existing oneps you can find a lot of nice functions in function-set-avia-backend.php
and on line 546 the add_image_size function- This reply was modified 7 years, 6 months ago by Guenni007.
if you want to create a new image size and enable to choose it via selection:
// add new size or overwrite an existing size add_image_size( 'new-size', 2000, 500, true ); // make the new size available in the media library (and image element etc.) add_filter( 'image_size_names_choose', 'my_custom_sizes' ); function my_custom_sizes( $sizes ) { return array_merge( $sizes, array( 'new-size' => __( 'New Size' ), ) ); }
Well if i do that the rule will be set by:
#top #header .av-main-nav > li > a { font-family: "Cabin","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 12px; }
so try to do it via quick css without that alternativ fonts:
#top #header .av-main-nav > li > a { font-family: "Salsa"; font-size: 16px; font-weight: normal; }
or do you mean the menu font on mobile menu (mobile-advanced) ?
#mobile-advanced a, #mobile-advanced .mega_menu_title { font-family: "Salsa"; font-size: 16px; font-weight: normal; }
- This reply was modified 7 years, 6 months ago by Guenni007.
please post your css code for the non-mobile menu
ha – seems to be very uncommon and not easy to handle.
it is set in avia-builder.js about line 1720 on.
think of all cellSizeVariations you can have on 8 columnsi think it will be easier to have a table with 8col one row and make some fittings to it- than to edit the shortcode of grid row
hast du die aktuelle Enfold Version ?
Weil es mal einen Fall gab mit einer Version, wo bei Anwahl im Dashboard von Deutsch “Sie” das Backend von Enfold auf Englisch war.
Das ist aber seit dem Enfold auch die formal Versionen nun nicht mehr in einem eigenen Unterordner hat nicht mehr aufgetreten.
Bei dir ist aber auch das gesamte Dashboard englisch.Nur damit wir nicht aneinander vorbei reden. WordPress hat wie gesagt eigene language files in /wp-content/languages/
damit sind nicht die lang files von Enfold gemeint /wp-content/themes/enfold/lang/you see above – the right code on &sub .= it must be the double ones – on top at add_filter the single ones (but simple do a copy/paste)
here a common mistake:
add_filter('avf_logo_subtext', 'kriesi_logo_addition'); function kriesi_logo_addition($sub) { $sub .= "<h1>Company Name</h1>"; return $sub; }
the use of quotation marks (single and double) – be careful by this
and – but could be because you are not using the code tool on top the single marks are not the streight ones a bit of curly special CharakterMay 9, 2017 at 12:17 pm in reply to: getting problem when i try to keep code in function.php #790188and please show us the inserted code – sometimes there is only a semicolon missing or some closing brackets
by the way : changings on parent theme functions.php it is important where you inserted the new code !
May 9, 2017 at 12:15 pm in reply to: getting problem when i try to keep code in function.php #790187well i’m a participant as you – so be carefull whom you do give the login datas.
I did that allready – but it is best to wait for a mod – because than you can give the login datas via private content field.for the ftp change – if you got ftp access – goto your installation and navigate to /wp-content/themes/enfold or if you are using child-theme
/wp-content/themes/enfold-child
download the functions.php – open it with a good text editior ( f.e. : notepad++ for pc or sublime-text for mac) redo your changings.if you don’t remind your changings – you can upload an untouched version of functions.php (on parent theme a copy of the enfold one, on child-theme it is from the beginning a nearly empty one:
<?php
From that point you should have a working theme again.
May 9, 2017 at 11:22 am in reply to: getting problem when i try to keep code in function.php #790150what code did you insert?
Did you insert it to parent or child theme?give us please an example
and to get rid of black screen – remove changes via ftp
- This reply was modified 7 years, 6 months ago by Guenni007.
you mean your one liner :
AddType application/octet-stream .pdf
if it works – ok.
but some browsers have some trouble with .PDF or the IE does something else you are intend to do.
I think the code will work browser independent:<FilesMatch "\.(?i:pdf)$"> # Force File Download ForceType application/octet-stream Header set Content-Disposition attachment </FilesMatch>
to be more precise it should be:
<FilesMatch "\.(?i:pdf)$"> <IfModule mod_headers.c> ForceType application/octet-stream Header set Content-Disposition attachment </IfModule> </FilesMatch>
but test yourself
btw: the ?i: is for beeing independent from upper/lowercase combinations.- This reply was modified 7 years, 6 months ago by Guenni007.
wie gesagt, ich glaube wenn du nicht die explizit deutsche Version installiert hast, fehlen die lang files. Aber das könntest du nachinstallieren.
Oder einfach eine deutsche drüber installieren.
Sehe gerade, dass die Langfiles einzeln nicht mehr angeboten werden – musst also die komplette WordPress installation laden.
Anleitung: Linkdas mit dem
define('WPLANG', 'de_DE');
ist ab Version 4 obsolete. Das wird jetzt im Dashboard umgestellt.yes sorry that was my misunderstanding.
I thought it was one of those Ex-Rules from strict html4 times. Like no block-level element in anchors.
Today we are at html5 – and yes now it is common use to wrap some h, p or div in one a element.
it works – and rendering is safe._________
a handmade site is unbeatable in that and performance reasons – but nevertheless i do not want to go back!
Allthough this oldschool site is responsive – html valide and css3 conform.
from that point the old times are ok Look here https://guenterweber.com/oldschool/
and gtmetrix values like this : https://gtmetrix.com/reports/guenterweber.com/XJVD4Xo5 are never seen on WP Sites
https://developers.google.com/speed/pagespeed/insights/?hl=de&url=guenterweber.com%2Foldschool%2F&tab=desktoptry this too combining Yigits rule:
html { -webkit-font-smoothing: antialiased; }
or as Basilis changing:
* { -webkit-font-smoothing: antialiased; }
see thread here : https://kriesi.at/support/topic/different-font-weight-in-menu-navigation/?bbp_reply_to=717694&_wpnonce=9354f7d078#new-post
and look to the warning:
Use Wisely
For these last two hacks, each character re-rendered will require extra resources so it’s best NOT to use these to render large swaths of copy. Use these on headers and global elements where you will have the most impact, but for the main copy use ‘serif’ or ‘sans-serif’ and let the browser decide.so perhaps you will only do for navigation or important headlines
- This reply was modified 7 years, 6 months ago by Guenni007.
have you tried to implement it with standard 400 ?
because google did not allow to get rid of that marked 400er field. Maybe it is necessary:add_filter( 'avf_google_heading_font', 'avia_add_heading_font'); function avia_add_heading_font($fonts) { $fonts['Quicksand'] = 'Quicksand:300,400,700'; return $fonts; } add_filter( 'avf_google_content_font', 'avia_add_content_font'); function avia_add_content_font($fonts) { $fonts['Quicksand'] = 'Quicksand:300,400,700'; return $fonts; }
@Victoria : yes it seem to be right – but this was the way in documentation for activating for headings and for textfields.
btw: the bold is implemented in the 700 – isn’t it – so there might be a mismatch if you are defining a quicksand bold for 300, 700
and a quicksand too for 300, 700- This reply was modified 7 years, 6 months ago by Guenni007.
May 8, 2017 at 12:42 pm in reply to: Enfold Theme Option – Which file modify footer edition? #789505sorry for my little off topic but your question reminds me to a film sequence of Peter Seller as Inspector Clouseau – the lightswitch question.
Just a bit of humor now: https://www.youtube.com/watch?v=eu8erlaxLAgso now to something completely different:
on dashboard – general styling – footer (tab) – be careful the footer is that segment with the widgets in it. The bottom of your site is the “socket” – as you can see in the image above those tabs
well alot of your error codes concerns to structured data – something which seems not to be regarded by that html test tool on w3c.
Long time a lot of wai aria roles aren’t regarded by w3c – so you have to read this with modern eyes!look for example on structured data test tool by goolge: https://search.google.com/structured-data/testing-tool?hl=de#url=https%3A%2F%2Fe-3.de
no errors – no warnings on your site.the other errors are some meta properties . Get familiar with those things too.
something like: “The itemtype attribute must not be specified on elements that do not have an itemscope attribute specified”
Must not be – for me sounds like could be but must not be ( so an error is harsh – a warning seems to be enough) etc.
May 7, 2017 at 3:03 pm in reply to: LayerSlider (PAID) – Requesting an add to Enfold's online documentation #789092on one installation i activated the embeded version with a license key. From this moment on i can use the library to install layerslider demos – even the premium ones – but updates are not working- they are not shown in WP dashboard – Updates.
May 5, 2017 at 6:52 pm in reply to: Change menu-icon when header is set to "Display as icon"? #788609May 5, 2017 at 5:39 pm in reply to: Change menu-icon when header is set to "Display as icon"? #788553the thing with that “icon” is that it is not a static one. there are a lot of svg animated pendents to that what kriesi has choosen – f.e.
https://codepen.io/kyleHenwood/pen/Alaybthis here seems to be a combination of having strokes and setting some additional classes on click event.
see here some examples: https://jonsuh.com/hamburgers/
on avia.js since line 1760 you find those settings
PPS: on that link above to https://jonsuh.com/hamburgers/ you can see a very similar structure of hamburger styling
<div class="hamburger hamburger--spin js-hamburger"> <div class="hamburger-box"> <div class="hamburger-inner"></div> </div> </div>
on enfold the structure is:
<span class="av-hamburger av-hamburger--spin av-js-hamburger av-inserted-main-menu"> <span class="av-hamburger-box"> <span class="av-hamburger-inner"></span> <strong>Menu</strong> </span> </span>
only a av- is before classes so maybe a css transfer brings different possibilities.
so maybe it is easy to replace here with some transfer- This reply was modified 7 years, 6 months ago by Guenni007.
or:
#top .main_color .wpcf7-not-valid { background: rgba(230, 70, 0, 0.3) !important; }
for you
Kannst du das hier mal probieren:
#top .main_color .wpcf7-not-valid { background: rgba(255, 255, 120, 0.2) !important; }
can you please show us a link to that page. I have a message above the input fiield in that case.
is there an example on any demo page of kriesi?
-
AuthorPosts