Forum Replies Created
-
AuthorPosts
-
1) well we had to be a bit more precise here: we got the id: #footer ( that is the place where the widgets are in ) and the footer with id : #socket.
What do you like to have a bigger height?
2) What size do you like to increase – the heading text or the widget content text or both etc.
3) insert to that options input field at the end:[nolink]
which font do you want to include?
do you have all font-weights you need in that zip file you upload? / or in the folder you upload?a good starting (not only for google fonts – but for comparison) – this page could show you how it works to load fonts locally:
https://google-webfonts-helper.herokuapp.com/fontsIf you choose in the list on the left side one font – you an see on the right side the options you have.
On 2. Style select you can make your choice what font-style you like to include – if you want to do it exactly, you should select the italic fonts as well. Often it is enough to leave this display to the browser. Because every font style that should be loaded costs performance.
On 3. you can decide if you like to support even older browsers – or to load only modern browser support ( only woff and woff2)But what’s wrong with the home page header?
What should be achieved for the German or the English version?first it is set to 100% in base.css ( inside the css folder )
a little down that definition it is set to:/*default*/ h1, h2, h3, h4, h5, h6 { /* font-family: "Georgia", "Times New Roman", Helvetica, Arial, sans-serif; */ font-weight: 600; } #top h1 a, #top h2 a, #top h3 a, #top h4 a, #top h5 a, #top h6 a { font-weight: inherit; text-decoration: none; color: inherit; } #top h1 strong, #top h2 strong, #top h3 strong, #top h4 strong, #top h5 strong, #top h6 strong { color: inherit; } h1 { font-size: 34px; line-height: 1.1em; margin-bottom: 14px;} h2 { font-size: 28px; line-height: 1.1em; margin-bottom: 10px; } h3 { font-size: 20px; line-height: 1.1em; margin-bottom: 8px; } /*28*/ h4 { font-size: 18px; line-height: 1.1em; margin-bottom: 4px; } /*21*/ h5 { font-size: 16px; line-height: 1.1em; } /*17*/ h6 { font-size: 14px; line-height: 1.1em; }
the option in the Enfold settings dialog “Default content font size” sets the size for the body. Many font size definitions go back to this value
the reason why i wrote it down like this in a description is if i write: you will see nothing but the wanted analogon.
the semicolon had to follow those codes without any space between.Try the unicode dezimal – and give the plugin a try.
The edited version from Günter is here for download: https://pastebin.com/dl/RfmWQRvN
and here to see: https://pastebin.com/RfmWQRvNthen you use it as #shy# or #nbsp# etc. pp like in the list
by the way it is the only way to use < or > or [ ] etc in the htmlbut btw: the css for that – you can use hyphens: auto
But these hyphenations are also partially incorrect – so the only true hyphenation is via softhyphens and manually.-
This reply was modified 4 years, 4 months ago by
Guenni007.
sorry no private content for me – i’m participant as you!
but all pages except the front page :
function add_class_to_images(){ if(is_page() && !is_front_page()){ ?> <script> (function($) { $('img').addClass('zoooom'); })(jQuery); </script> <?php } } add_action('wp_footer', 'add_class_to_images');
the Exclamation mark indicates a not logic so it is all pages but not front page
PS: is_home() might work here too – but there is a little difference inbetween is_front_page() and is_home()try to use instead the unicode dezimal short for it so not
­
with semicolon behind but
­
with a semicolon behind
( when i set the semicolon it will directly transformed)-
This reply was modified 4 years, 4 months ago by
Guenni007.
Well you can use every conditional tag wordpress offers: https://codex.wordpress.org/Conditional_Tags
a douple pipe is a logic or and a double && is a logic and
so you can start with – the if clause wraps the script that should be used.
e.g.:function add_class_to_images(){ if(is_page() || is_singular('post') || is_singular('portfolio')){ ?> <script> (function($) { $('img').addClass('zoooom'); })(jQuery); </script> <?php } // this closes the if statement } // this closes the function itself add_action('wp_footer', 'add_class_to_images');
//more specific selections can be made within the brackets. (e.g. - which pages should be affected via an array). // IDs without quotes and page names like privacy , portfolio etc. with quotes if(is_page(array( 1396, 1617, 'privacy'))){ …
it might be better to see your pages it concerns to give exact help on that.
February 20, 2021 at 1:27 am in reply to: preset a portfolio to have on default a custom widget area shown. #1282348Neither the New Portfolio – opens with advanced layout editor at start – nor the custom-widget-area is set from the beginning as right sidebar.
Yes the right-sidebar was activated from the beginning – but the wanted widget-area not ( on opening new portfolio it is set to standard widget area)I can not imagine that it is due to Enfold 4.8.0-dev-6
-
This reply was modified 4 years, 4 months ago by
Guenni007.
Not all Images are inserted in Enfold as
<img src=" …
a lot of them are only background-images f.e.: https://kriesi.at/themes/enfold-2017/elements/masonry/you can try this in child-theme functions.php if you need that class directly on the img tag itself
if you need it on the parent element tell me – then we can find that parent by another selector.
( i think even an each function is not neccessary)function add_class_to_images(){ ?> <script> (function($) { $('img').addClass('zoooom'); })(jQuery); </script> <?php } add_action('wp_footer', 'add_class_to_images');
February 19, 2021 at 5:05 pm in reply to: Instagram missing in 'Social Media Share buttons' element #1282269hi Roger – sorry – not now for this post here- the topic on the other page is closed.
I created a solution for responsive case on that: https://kriesi.at/support/topic/issue-with-portfolio-grid-layout/#post-1281896see same example page on top: https://webers-testseite.de/excerpt/
take an enfold button – light transparent and give to those buttons a custom class: button-liner.avia-button-wrap.button-liner { width: 100%; float: none !important; height: 100%; display: block; overflow: hidden !important; } .avia-button-wrap.button-liner:before { display: inline-block; content: ""; position: relative !important; top: 8px; /*depending on your setting - like font-size etc. */ left: 0; width: calc(100% - 150px) !important; /*you know best how long this had to be for your text */ border-bottom: 2px solid #ccc; }
-
This reply was modified 4 years, 4 months ago by
Guenni007.
is it a manually set button – or you want the default read more link to like this?
See here for elegant-blog style on : https://webers-testseite.de/excerpt/
you had to adjust it to your selectors for your blog layout
.html_elegant-blog .avia-content-slider .read-more-link { padding-bottom: 0; display: inline-table; height: auto; width: 100%; } .html_elegant-blog .avia-content-slider .read-more-link:before { content: ""; position: absolute; top: 0; left: 0; height: calc(50% - 2px); width: 100%; border-bottom: 2px solid #999; z-index: -1 } .html_elegant-blog .avia-content-slider .read-more-link:hover:before { border-color: #f29811 !important; /* take your hover color for it */ } .html_elegant-blog .more-link { margin: 0; padding: 0 0 0 10px; text-align: right; font-family: Georgia !important; text-transform: uppercase !important; float: right; top: 0; width: auto; background-color: #fff; }
function grid_layout_notfull(){ ?> <script> (function($){ $('.av-layout-grid-container.grid-notfull' ).wrap( '<div class="main_color notfullsize"></div>'); $('.notfullsize').css({"clear": "both", "width": "100%" , "float": "left" , "position": "static" , "min-height": "100px" }); $('.grid-notfull').css({"max-width": "1310px", "margin": "0 auto" , "padding": "0 50px"}); })(jQuery); </script> <?php } add_action('wp_footer', 'grid_layout_notfull');
maybe a little child-theme functions.php snippet rules i a bit better.
https://kriesi.at/support/topic/grid-row-not-fullsize-how-to/#post-902770as mentioned in that post:
1) the notfullsize class added to the surrounding container gets the same settings as avia-section and the class main_color to have the same background-color
2) and the grid-notfullsize gets the setting of “container”this here f.e. is :
non breaking space
small no-break Space
non breaking hyphensee a list of them here: http://unicode.e-workers.de/entities.php
-
This reply was modified 4 years, 4 months ago by
Guenni007.
and you inserted this?
____________ additional info _____________
on some inputfields this well known entity is working but after saving the whole page – the inserted entity is not seen anymore – allthough it has an effect on the frontend.
Editing a f.e. Heading again – these inserted entities are gone.to avoid this and to see in backend the usage of those little helpers i use that little plugin from Günter : https://github.com/KriesiMedia/enfold-library/tree/master/integration%20plugins/Enfold/Special%20Character%20Translation
you can extend that little list in the plugin by additional entities
i do change and add some entities on that replacement list f.e. ( i only use one #before and after the inserted code )
my replacement list looks this way:
after that i insert on the places f.e. #shy# for a softhypen.
this will be seen on backend – even after saving the post and on editing them again.February 19, 2021 at 12:09 am in reply to: Partner/Logo Elemente mit Link keine Transparenz mehr obwohl png #1282103can you try this in your quick css:
.main_color .avia-content-slider .slide-image { background: transparent !important; } .av-partner-fake-img { box-shadow: none; }
February 18, 2021 at 11:33 pm in reply to: Filling the Header Area completely with a Photo Image #1282102sorry you had to wait till mods are here – no private content for my eyes!
February 18, 2021 at 11:45 am in reply to: Filling the Header Area completely with a Photo Image #1281960div.header_bg ( header background) is the last div container in the header container.
( It rules a lot of settings f.e. glassy header etc. pp)
click to enlarge
rule on that is:
.header_bg { background-image: url(/wp-content/uploads/privacy-1500x430.jpg); background-repeat: no-repeat; background-size: cover; opacity: 0.5; }
but it depends on your header settings – and …
so more info about your header settings – then you can be offered more precise css code.PS : a good advice is always to get familiar with the developer tools of the browsers ( that dark thing in my image above ) it tells you a lot of DOM Structure and give you the concerning css Rules set.
in Addition – you can influence and test (virtually) by adding or changing css rules in developer tools.
Even you can test some of the jQuery snippets offered here on board.-
This reply was modified 4 years, 4 months ago by
Guenni007.
February 18, 2021 at 12:49 am in reply to: Filling the Header Area completely with a Photo Image #1281899it would be helpful to know what kind of setting your header is set to.
Best is to see your site to give precise instructions.But on most cases the header_bg class is for that a good hint
maybe you give a different color to the time format:
.portfolio-new-meta .date-container { color: #999 !important; }
________________
Sad it is closed –
PPS: the responsive case is not nice – so try:
@media only screen and (max-width: 767px) { .blog-samenvatting.grid-sort-container { display: flex !important; flex-flow: row wrap; justify-content: space-between; } .blog-samenvatting.grid-sort-container .grid-entry { flex: 1 1 100% !important; width: unset !important; margin: 0 0 50px !important; padding: 0; } .blog-samenvatting.grid-sort-container .grid-entry .inner-entry > div { width: 100% !important; } /**** these lines only if you like to have the image on top ******/ .blog-samenvatting.grid-sort-container .grid-entry .inner-entry { display: flex !important; flex-flow: wrap-reverse row; justify-content: stretch } #top .isotope-item.special_av_fullwidth .av_table_col .avia-arrow { top: 0%; } /****** remove it between these two comments if you are stisfied with image under the content *******/ }
and switch at every px-value you like – maybe 989 is better
-
This reply was modified 4 years, 4 months ago by
Guenni007.
February 17, 2021 at 4:30 pm in reply to: scroll hide AND transparent header, is this possible? #1281787it is in deed the fact that it is a bit transparent ( opacity: 0.95)
just change for those pages the .header_bg option with quick css:.home .header_bg { opacity:0.5; filter:alpha(opacity=50); }
it maybe neccessary to have here an !important – but first try it without
by the way – i shift it this way:
function shift_extra_portfolio_meta(){ ?> <script type="text/javascript"> (function($) { $('.portfolio-new-meta').each(function() { $(this).next('.portfolio-entry').append($(this)); }); })(jQuery); </script> <?php } add_action('wp_footer', 'shift_extra_portfolio_meta');
do not forget to get rid of this $markup in your code
Sorry – take the time only form $entry – i changed the snippet above so try for your needs:
function avf_portfolio_extra_mod($output, $entry) { $output = '<div class="portfolio-new-meta">'; $output .= '<div class="portfolio-read-more-link"><a href="'.get_permalink($entry->ID).'" class="more-link">'.__('Read more','avia_framework').'<span class="more-link-arrow"></span></a></div>'; $output .= '<time class="date-container minor-meta updated">' .get_the_date("j. F Y", $entry).'</time>'; $output .= '</div>'; return $output; } add_filter('avf_portfolio_extra', 'avf_portfolio_extra_mod', 10, 2);
if you like to have some binding words between the date shortcodes you had to insert a \ before the letters each – if they got a meaning on date format like a or t ( am/pm , time, etc.)
f.e. this:
.get_the_date("j\. F Y \a\\t G:i", $entry).
see: https://wordpress.org/support/article/formatting-date-and-time/
don’t know why a double \\ must before the t – but that works
PS: it seems to slow down the site on loading if you got a lot of entries on that page.
Maybe a Mod knows a better way to insert the entry date to that place-
This reply was modified 4 years, 4 months ago by
Guenni007.
First – does it realy work with $markup ? at the classes
what about this :
add_filter('avf_portfolio_extra', 'avf_portfolio_extra_mod', 10, 2); function avf_portfolio_extra_mod($output, $entry) { $output = '<div class="portfolio-new-meta">'; $output .= '<div class="portfolio-read-more-link"><a href="'.get_permalink($entry->ID).'" class="more-link">'.__('Read more','avia_framework').'<span class="more-link-arrow"></span></a></div>'; $output .= '<time class="date-container minor-meta updated">'.get_the_date("Y-m-d", $entry).'</time>'; $output .= '</div>'; return $output; }
the point is to include the same relation to the entry ID as on permalink – you can do everything as format you like f.e.
.get_the_date("d. M Y", $entry).
on default the month names are localized via General Setting Language of the page
by the way: thanks – nice use of that filter !
on my versions of Enfold : 4.7.6.4 and testing 4.8 beta – there are no options to show title – excerpt and read more !
no option to show post meta here – that is the reason for my question – where did you set to show the date?Only Chance to see it is to put in the excerpt field the shortcodes of the postmeta
is there a link you can make here public. only that image leads me to a different way it was generated than over the portfolio grid alb element.
Edit Ok – i didn’t see that there is : “special column layout – side by side” option. ( has this been around for a while?)
Next Question – how do you set the date to this element? because on default i got no date there.
Are these portfolio ALB generated – or set by classic editor. Do you have inserted here the post meta data?
If so – did you take the publishing date or the last modified date etc. ppmore input please
-
This reply was modified 4 years, 4 months ago by
Guenni007.
Very important on flex modell use!
every element that is inside the flex-container is part of the rules – so no additional Heading inside a 1/1 container or a hr to have more space on top or bottom ( you can do this via padding ) should be inside the flex container. -
This reply was modified 4 years, 4 months ago by
-
AuthorPosts