Forum Replies Created
-
AuthorPosts
-
April 8, 2016 at 1:08 pm in reply to: Schriftart installieren, welche nicht in GoogleFonts enthalten ist #610206
Hast du denn auch in der style.css die Schriftart zugewiesen?
z.B.
h1 {font-family: 'lazy_spring_day_demoregular', sans-serif;}
Innerhalb des Backends kann die Schrift nicht auftauchen, denn das Theme ‘weiß’ nichts davon.
April 8, 2016 at 5:17 am in reply to: URGENT– Enfold update to version 3.5.1 has deleted all content from within WP #609991You should first deactivate all plugins. Still not working? Try deleting and reuploading the theme again via ftp. Are you using a child theme or any customizations like in functions.php?
April 7, 2016 at 2:35 pm in reply to: Schriftart installieren, welche nicht in GoogleFonts enthalten ist #609647Exakt.
It’s known for bugs..
Have a look at those, didn’t test it myself.
http://enviragallery.com/
http://freakplugins.com/shareprints/That’s all I know:
The WPLANG constant is no longer needed.
Isn’t WPLANG deprecated?
http://codex.wordpress.org/Installing_WordPress_in_Your_Language
April 6, 2016 at 5:04 pm in reply to: Schriftart installieren, welche nicht in GoogleFonts enthalten ist #609065Du gehst auf https://www.fontsquirrel.com/tools/webfont-generator und lädst den font hoch, und dann das Paket herunter, was der Generator erzeugt. Im CSS sieht das dann (Im Beispiel Open Sans Font) so aus (Die Schriftdateien liegen hier im selben Verzeichnis wie die CSS-Datei):
@font-face { font-family: 'open_sansregular'; src: url('OpenSans-Regular-webfont.eot'); src: url('OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'), url('OpenSans-Regular-webfont.woff') format('woff'), url('OpenSans-Regular-webfont.ttf') format('truetype'), url('OpenSans-Regular-webfont.svg#open_sansregular') format('svg'); font-weight: normal; font-style: normal; }
Folgender Eintrag in der .htaccess könnte nötig sein:
AddType application/font-woff2 .woff2
You could edit the footer.php (better put it in a child theme so updates won’t overwrite) like this:
$kriesi_at_backlink = date('Y').' '."<a href='http://example.com' target=\"_blank\">Link</a> and so on...";
You will know how to insert an image this way – I hope.
Du kannst das aktuelle Theme per ftp einspielen, das beschädigte theme vorher z.B. umbenennen. Das gilt nur, wenn keine Änderungen an den core-Dateien gemacht wurden – alle Einstellungen bleiben erhalten, da die sich in der Datenbank befinden. Trotzdem vorher DB-Backup machen!
I just had a similar question, maybe this will help you:
Got it, I think I just messed with the brackets or had some caching issue..
So this is my final code, put in child theme’s functions.php.
... $output .= "<ul class='avia_wpml_language_switch avia_wpml_language_switch_extra'>"; foreach($languages as $lang) { if(!$lang['active']) { $currentlang = (ICL_LANGUAGE_CODE == $lang['language_code']) ? 'avia_current_lang' : ''; if(!avia_is_overview() && (is_home() || is_front_page())) $lang['url'] = $sitepress->language_url($lang['language_code']); $output .= "<li class='language_".$lang['language_code']." $currentlang'><a href='".$lang['url']."'>"; $output .= " <span class='language_native'>".$lang['native_name']."</span>"; $output .= "</a></li>"; } } $output .= "</ul>"; } echo $output; ...
And what a great performance dropping the flags !! :) :) :)
Can be closed, thank you!
Hi Ismael,
I agree it’s not the best example to talk about performance here. Nevertheless I like ‘pretty’ solutions, and I like understanding what I’m doing. Why not cut the code where the flags are being loaded? If I could manage this, I know how to deal with other ‘problems’ like that. The code in the functions.php does work 99%, and I was behind the 1% which I oversaw..
However:
The jquery-solution now is not any better then using the CSS, right?What I will do next is trying again by myself.
Thank you anyway, I appreciate what you’re doing, until now I bought your theme 3 times and made friends buying it. So something must be right about it ;-)
Go find the site-id and enter css like this:
.page-id-126 .av-sidebar-social-container { display: none; }
Iconlist:
.avia-icon-list .iconlist_title { text-transform: none !important; }
Iconbox:
.iconbox .iconbox_content .iconbox_content_title { text-transform: none !important; }
Hi Ismael,
this is more what I like ;-) , I added one more line as:
function b() { $('.avia_current_lang').remove(); $('.language_flag').remove(); }
And this looks like the solution I was after. Please tell me if you underline it, or if there is any reason for not using the code like that.
edit: seems that the flags still get loaded, and then get stripped of the code this way, right?
My best regards.
Thanks Ismael, while this is working (visually), I would like to put this a step further (as I wrote) and don’t load the flags and then hide them.
Does your code look like this?
<a href="http://www.example.com" target="_blank">Click Me</a>
If I delete this entry, I have the same issue, so my mistake was the setting, not the entry itself.
I now use
.avia-menu-text { font-weight: normal !important; }
but I still don’t see where the boldness in chrome comes from.
However, it’s working now, thanks for all your effort.
I’m sorry I confused you. 20h means 20hex, which is the code for an empty space. It’s not a specific line somewhere. Try changing the H2-Content to something different for testing, then just rewrite it. I cannot really explain, but it could work as easy.
That’s all I can say.
Good luck
Same hoster as the working site? If not, look at your php-memory-limit, should be 256M ideally for enfold. If you can you also should tell your PHP-Version. FTP should be an option for such things, so you could delete the theme totally and reupload a fresh copy.
Nice try – go ahead and delete the ugly space between y and p and then make a ‘real empty space’ :-)
I opened with firebug, added some more phrases and they did break well. Then I did as I wrote above (all in Firebug) and Oh Wonder – Philosophy was breaking!
After that tell me what weird code you use instead of a 20h (for space) – I really would like to know.
PS:
No, I’m not fooling you, just trying to help as I canThis could be a helpful thread:
https://wordpress.org/support/topic/social-media-icons-are-displayed-as-a-boxIt’s about settings of WordPress and settings in .htaccess
December 8, 2015 at 12:00 pm in reply to: Masonry Entries selector broken (since Update 3.4.5) #548666I think this is adressed here already:
https://kriesi.at/support/topic/after-latest-update-no-options-to-choose-masonry-portfolio-or-post-categories/November 30, 2015 at 7:49 pm in reply to: Problem: This demo version of the theme has expired. Please buy and install the #544763Your content is saved in the database. You should make a backup of all files and database as well, and then do like Yigit said.
I don’t know, looking around the forum I keep stumbling on these :)
You don’t see it because I managed to correct it, as I said. So you say the issue is new to you, which would in fact increase the possibilty of an interfering plugin, and I could examine further?
Is there any recommendation using 1/1 around a text-box or not, and the depending margins and so?
If I come across this again I will let it be and you can have a look.
-
AuthorPosts