Forum Replies Created
-
AuthorPosts
-
well if there is a link to your site in private content area – i do not see as a participant.
If you look to the demo: https://kriesi.at/themes/enfold-2017/#footer
the height is in dependency to the content.
You only have the chance to minimise some paddings or margins – f.e.:
the footer container itself got padding:#footer { padding: 15px 0 30px 0; /*** top and bottom paddings ***/ }
each widget got a top/bottom margin of 30px
#footer .widget { margin: 30px 0 30px 0; /*** top and bottom margins ***/ }
the widget titles got a top margin of 0.85em
.flex_column .widget .widgettitle, .content .widget .widgettitle { margin-top: 0.85em; /*** top margin ***/ }
you can override all these rules with lower values in your quick css
First of all – please look on top of this forum – this logo is with text. After scrolling the text disapears. And now your customer likes to have besides the text a second logo.
What kind of header did you choose? Logo left – menu right … shrinking or not ?
What should happen on scroll – on small screens?
Do you whish to have on each a different link – or is it for all the same backlink?you realy mean the #footer ? or do you like to have a higher socket: #socket ?
March 25, 2022 at 3:10 pm in reply to: Prev–Next Post navigation not working by using full width easyslider #1346013if you got no child-theme –
where did you place that snippet?try it just after that comment – but before the :
require_once( 'functions-enfold.php' );
for both then try:
function my_avf_post_nav_settings( array $settings ){ // yes you can add here other post types like product or other cpt if( ! in_array( $settings['type'], array( 'post', 'portfolio' ) ) ){ $settings['same_category'] = true; $settings['is_fullwidth'] = false; return $settings; } } add_filter( 'avf_post_nav_settings', 'my_avf_post_nav_settings', 10, 1 );
but without child-theme you had to do that each time enfold parent is updating.
thats it – the names ?
btw. the original path is includes/admini guess the most important difference is the font-weight: 300
to address the captions specifically it is maybe a good idea to place a custom-class either to the whole slider or to the slide
f.e.: modern
If you have the custom-class on the alb itself – all caption titles will be then in font-weight: 300
if you have the custom-class only on the slide – only this will be selected ( see above image : Custom CSS Class For Heading Tag ).modern .avia-caption-title , .avia-caption-title.modern { font-weight: 300 !important; }
March 25, 2022 at 5:22 am in reply to: Prev–Next Post navigation not working by using full width easyslider #1345956you can deactivate the fullwidth/fullscreen slider check by filter: avf_post_nav_settings former: avia_post_nav_settings
if you only like to have that on posts/portfolio put this to your child-theme functions.phpfunction my_avf_post_nav_settings( array $settings ){ if( ! in_array( $settings['type'], array( 'post', 'portfolio' ) ) ){ $settings['is_fullwidth'] = false; return $settings; } } add_filter( 'avf_post_nav_settings', 'my_avf_post_nav_settings', 10, 1 );
maybe it will be necessary to shift those post-nav arrows ( especially on full-screen sliders )
then it maybe better to have them in absolute positionzunächst wenn du anker setzt – werden dies hoffentlich ID’s sein, denn auch ein navigierbarer Anker sollte einzigartig sein.
Bei Klassen kannst du in das Feld beliebig viele eingeben. Du musst nur darauf achten, dass diese durch eine Leerstelle getrennt sind.
Alle eingetragenen Klassen werden am gleichen Element angefügt.Das Problem mit deiner css Setzung ist, dass dies die Browsersilbentrennung ist, und mit deutscher Rechtschreibung nicht vieles gemeinsam hat.
______
Du siehst an meiner Beispielseite auch die Trennung innerhalb von englischen Texten.
Die Einstellungen in Hyphenator sind ja auch dafür gedacht die Zahl der Filtersprachen zu begrenzen. Die Standardsprache ist nur dafür gesetzt, wenn ein lang-Attribut bei html fehlt. Das sollten aber Sprachplugins beherschen diese zu setzen.Wenn Du das natürlich in die Hände einer html ungeübten Person übergeben mußt ist es ( hyphens setzung ) wohl die einzige praktikable Lösung.
for those who are interested – https://www.typografie.info/3/wiki.html/v/grosses-eszett/
I’m not a friend of that too – but there are arguments for that to useÜbrigens: du könntest mal in den Einstellungen von Hyphenator das Häckchen bei An/Aus Switch setzen und folgendes in dein Quick CSS einfügen:
#HyphenatorToggleBox { position: fixed !important; top: 200px !important; right: 20px !important; background-color: rgb(235, 13, 13) !important; font: 12px Arial !important; padding: 5px !important; border-radius: 0 !important; }
Dann siehst du einen Switch Button mit dem man den Einfluss ein und ausschalten kann. Nur zu Testzwecken.
https://webers-testseite.de/hyphenator/PS: sollte es dann bei Dir funktionieren; Die Setzung der Klasse kann an jedem Elternelement erfolgen um für alle Texte unterhalb Wirkung zu zeigen.
Also wenn du einer Color-Section die Klasse : hyphenate gibts sind auch alle Texte innerhalb dem unterworfen.you haven’t this on dashboard – appearance – widgets:
You are talking about the headings ALB elements – right?
you had to know that this custom class ( ID’s have to be unique – so if you want to use it on a page twice – a class will be better ) goes to the parent container so selector will be before the h2 container itself.
and if you do not like to have the whole width with a background-color – you had to set the container to display : inline-block
( my test custom class was: heading-bg-special).heading-bg-special .av-special-heading-tag { background-color: red; display: inline-block; padding: 2px 8px !important; }
March 22, 2022 at 9:03 pm in reply to: Hiding tooltip also hides lightbox text (under image) #1345583if you only want it for img and anchors – use instead:
function temporary_removal_title_tags(){ ?> <script> window.onload = function() { var links = document.querySelectorAll('a , img'); for (var i = 0; i < links.length; i++) { var link = links[i]; link.onmouseover = function() { this.setAttribute("org_title", this.title); this.title = ""; }; link.onmouseout = function() { this.title = this.getAttribute("org_title"); }; link.onclick = function() { this.title = this.getAttribute("org_title"); }; } }; </script> <?php } add_action('wp_footer', 'temporary_removal_title_tags');
es ist halt bei der DSGVO so, dass sobald du auch nur eine Kontaktmöglichkeit anbietest ( Telefon; E-Mail etc. ) – muss das eben vorhanden sein.
Das machen sehr viele falsch, die glauben eine sogenannte Visitenkarten-Seite im Netz platzieren zu können._______
und bei den Sprachen, die hyphenate bedient, hast du das manuell eingestellt? Ist aus performance gründen schon besser.
Ausserdem siehst du ja anhand meiner Beispielseite, dass bei breiten Screens ja auch kein Unterschied zu sehen ist. Hast du mal deine Seitenbreite ( durch verkleinern des Browserfensters ) verkleinert?Hast du nachdem du Hyphenate installiert hast – alle Cache geleert ( Browser Cache ) in Enfold – falls du das aktiviert hast das Merging aktualisiert ( unter Performance ) – hast du Performance Plugins laufen? dort auch die Cache erneuern.
Vielleicht schickst du mir mal das Seitenpasswort (also nicht die WP Zugänge) via E-Mail ( alles unter meinem Nick – bzw siehst ja die Testseite )
________
wei man ein plugin installiert weißt du! Mein Vorschlag für Günters Plugin war halt nur, dass man da nicht drei Rauten vor und nach den Einsetzungen macht sondern nur eine. Und eben die Liste erweitert – da es so viele schöne html entities gibt die man nutzen könnte.
zB ist das nonbreaking hyphen (geschützter Bindestrich) auch in der deutschen Sprache wichtig um zu verhindern, dass diese Worte bei Zeilenumbruch getrennt werden. ( z.B. bei 100 % – gehört einfach ein Leerzeichen hin – oder besser vielleicht ein dreiviertel Geviert Leerzeichen; soll aber wohl nicht im Zeilenumbruch getrennt werden – daher meine #nbhyp# Ergänzung in dem Plugin.
Hier kannst du meine Veränderungen sehen – pastebin: Link
und hier das installierbare zip file downloaden: https://webers-testseite.de/avia-special-characters.zipAb da kannst Du dann überall für diese Zeichen das Pendent einsetzen. In allen ALB Elementen wo der Kontent gesetzt wird – aber auch in der Textblock eingabe. #shy# setzt dann ein softhyphen.
-
This reply was modified 3 years, 4 months ago by
Guenni007.
it is a wordpress – no it is a browser related question – if there are titles – browsers will show tooltip after some time.
to simply remove all titles from images :function custom_remove_title_script() { ?> <script> (function($){ $("img").hover(function(){ $(this).removeAttr("title"); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_remove_title_script');
but even this you had to know how to insert it.
if content is missing after activating a child-theme – then there is something wrong with the installation from you.
i tried to explain it even for noobs how to. And linked the description to the docu with even a film to explain.
Maybe you let a mod do this for you.Otherwise you can insert it to parent-theme functions.php ( it is in enfold folder ) and on that file there is a comment at the bottom of that file:
/* * register custom functions that are not related to the framework but necessary for the theme to run */
after that – and before the last command (
require_once( 'functions-enfold.php' );
) i would place that code.March 22, 2022 at 7:13 pm in reply to: Audioplayer -time display in the timeline not visible #1345568on the demos and on my own test there are infos about the time:
see here and look to the css code for influence on that current time: https://webers-testseite.de/code-for-audioplayer/
and for the bars too.can you try this in your child-theme functions.php:
ok i had to show you the image of that snippet, because boardsoft will allways transform the included entities to the signs:
you had to type it your own:
( click to enlarge )
or copy&paste from pastebin: https://pastebin.com/k0f385TJ
by the way – that does not come from enfold – it is a wordpress based style. from media.php and function is : wp_underscore_playlist_templates
zunächst war mein Kommentar bezüglich Impressum und Datenschutz bezogen auf :
josk-design.de
Da sieht man nix. Da ich Teilnehmer bin wie Du, sehe ich versteckte Inhalte nicht.Natürlich funktioniert das auch im Flattersatz; aber die berühmten “Wasserfälle” treten halt besonders häufig bei Blocksatz auf:
Der Link zu meinem Beitrag – und als Ergänzung zu Günters ( Namensvetter hier an Board ) kleinem Plugin zielt auf das manuelle Setzen der bedingten Umbrüche ab ( die dann natürlich auch den Bindestrich setzen )
Leider ist es so das bestimmte Zeichen wie größer, kleiner etc. als tags interpretiert werden und im besten Fall missachtet werden – manchmal zerschießen Sie einem auch die Seite. Zudem sind die bedingten Umbrüche die man setzt wirksam, aber nach dem erneuten Aufrufen der z.B. des Überschriftelements verschwunden. Das passiert nicht mit dem kleinen Plugin – ein wort sieht dann so aus im Eingabefeld:
Donau#shy#dampf#shy#schiffahrts#shy#gesellschafts#shy#kapitän
Diese Setzung bleibt bestehen – und auch im Backend sieht man, dass man was verändert hat.Wie gesagt “Hyphenator” ist toll – ich verwende ihn jedoch meist nur für Seiten bei denen der Kunde auf Blocksatz besteht. – Das Pluginin greif jedoch nur für die Textblöcke, welche diese custom-class besitzen: hyphenate.
PS: wie setzt du die Klasse am TextBlock ? Man gibt in das Eingabefeld wirklich nur hyphenate ein ! ohne Punkt
Das weist du schon?PS: du siehst übergens, dass diese Toole es auch so macht – es setzt überall dieses
­
ein wo eine Trennung hingehört.
Sometimes reading is first step to learning. Everything is well documented even on enfold docu: Link
if you like to change parent-theme functions.php ( not functions-enfold.php – never said something else ) – you had to be very carefull –
first with the place you insert that snippet – then you always had to do that – each time enfold updates – because that file will be overwritten by the update. So my recommendation is : child-theme
Next : as mentiond above it is the themes root directory – and you see it on the image above: child-theme is selected on ftp and the files in it are: style.css, functions.php and screenshot.pngfirst to know : as one of the central files – the functions.php is in the root directory of your theme !
And : child-theme can have its own functions.php ( same as above directly in root direcctory of the child-theme
if you got a child-theme : parent-theme and child-theme are siblings:
Actually, you cannot destroy an existing installation by setting up a child theme. Because you can always go back and activate the parent theme.
When you have installed ( uploaded the child-theme folder to your themes directory – on Dashboard – Themes there will be two enfold themes. One is marked as Child-Theme.
After Activation of the child-theme – go to (now) Enfold-Child Options :
on Import/Export Tab there is on top the button: “Import Parent Theme Settings” – click
This will take your settings from the parent-theme to your child-theme – including quick css entries and all the other settings.
It is not always the case that this does not work right away. If this is the case for you, please contact us again.Are you familiar with ftp-clients like filezilla etc. ?
To your fundamental question – where to insert that snippets ( code provided above )
First of all, I recommend using a child theme; this has many more advantages than disadvantages from my point of view. The child theme initially takes over all the properties of the parent theme until it develops its own properties.
Hence the naming. A child theme actually only comes in the form of a style.css in which it is declared to which parent it belongs.
If you download the prefabricated child theme from Enfold, you will see three files in the zip file – the mentioned style.css – a screenshot, so that you can directly recognize the affiliation to the parent theme in the dashboard / themes, and a quasi empty functions.php.
This central file is also a great exception, as it is one of the few files that is not intended as a replacement for the parent theme elements, but as an addendum. This is where such code snippets belong ( without deleting the introductory<?php
)
There are snippets that will overwrite parent-theme instructions – but then they have to be coded that way. The most snippets only do change or add new abilities.Accordingly, this child theme does not require an update in the proper sense. Occasionally, however, it needs to be reworked, in case of major changes within the parent theme or WordPress.
Therefore, it is advisable to add comments to the added code snippets, which make it easier to understand the origin and meaning of the change even after years.In a php file you can implement this in two ways:
Either you surround the comment :/*** a comment here * without any influence to the code snipptet itself ***/
or for a one-liner by prefixing it with :
// a comment here without any influence to the code snipptet itself
on that snippet above you see the the new function got a name – This name can be chosen arbitrarily; it is better to recognize directly what it is about. This function is then added to the theme via a so-called “hook” by add_action.
-
This reply was modified 3 years, 4 months ago by
Guenni007.
Personally, I was only bothered by the galleries with previews.
https://kriesi.at/themes/enfold-2017/elements/gallery/
If you hover a little bit over the thumbnails, an Enfold Tooltip and the WordPress Tooltip will be shown at the same time. Therefore my solution to hover the Titles in a Substitute Title ( org_title ) to cache.
there is a simpler method to remove all titles – but then as mentioned above – the seo aspect will be ignored – and if you decide to show on an image a lightbox – the title is missing in the bottom-bar of the lightbox.
well if you even want to hide the titles on lightbox images – that was the wrong function ( p.s. : comes to child-theme functions.php)
the function above will do the job: to hide titles on hover – but on click they will be back for exactly the lightbox bottom-bar.if you like to preserve the titles for SEO reasons – comment out that part with click event – or remove it:
function temporary_removal_title_tags(){ ?> <script> window.onload = function() { //var links = document.querySelectorAll('img, a ,div[title]'); var links = document.getElementsByTagName("img"); for (var i = 0; i < links.length; i++) { var link = links[i]; link.onmouseover = function() { this.setAttribute("org_title", this.title); this.title = ""; }; link.onmouseout = function() { this.title = this.getAttribute("org_title"); }; } }; </script> <?php } add_action('wp_footer', 'temporary_removal_title_tags');
you can include other selectors etc. see the alternate line: for
var links = document.getElementsByTagName("img");
then use instead:function temporary_removal_title_tags(){ ?> <script> window.onload = function() { var links = document.querySelectorAll('img, a ,div[title]'); for (var i = 0; i < links.length; i++) { var link = links[i]; link.onmouseover = function() { this.setAttribute("org_title", this.title); this.title = ""; }; link.onmouseout = function() { this.title = this.getAttribute("org_title"); }; } }; </script> <?php } add_action('wp_footer', 'temporary_removal_title_tags');
Etwas Offtopic : deine sehr minimalistische Seite bedarf trotzdem eines Impressums und einer Datenschutzseite – zumal du das Statistiktool von Jetpack nutzt. Selbst wenn dem nicht so wäre, da du eine Kontaktmöglichkeit offerierst reicht es um die Seite abmahngefährdet zu nennen. Da solltest Du unbedingt nachbessern. ;)
since this is quite a calculation-intensive plugin, it would not be very performant if you use it frequently on a page.
For this reason, it is also best to manually set the languages for which it is intended.
In this case it seems to me better to set “breaking points” in long words manually. There is an html entity for the web application which provides exactly that: softhyphen­
see here an older text of mine : https://kriesi.at/support/topic/problem-with-hyphens/#post-1179376
wendest du das überall? oder nur – wie eigentlich vorgesehen auf Textblöcke bei denen du die Klasse gesetzt hast. Standard ist wohl : hyphenate
Denn eigentlich macht es am meisten Sinn, wenn es sich um block-text handelt ( justified text blocks)do you apply this everywhere? or only – as actually intended on text blocks where you have set the class; default is probably : hyphenate
Because it actually makes the most sense when it is about justified block text.See your example text her on :
https://webers-testseite.de/hyphenator/ -
This reply was modified 3 years, 4 months ago by
-
AuthorPosts