Forum Replies Created
-
AuthorPosts
-
First go to enfold options : layout builder and select your needed settings – my advice do activate all three custom id and classes and selecting the header tags.
but for headings element – you don’t need to do that – here the choose of heading tag is still activated without those settings:
but with the settings above you will have on a lot of other alb elements the possibility to choose headings tag! f.e. iconbox etc. pp:
you can see here – if you put in your own text that a baskerville italic suits best:
https://www.1001fonts.com/libre-baskerville-font.html?text=%26%20abcdefor goto Google Fonts : https://fonts.google.com/specimen/Libre+Baskerville
PS : you can see on those signs better the source from the “ampers-and” latin and : et
on base css line 379 there is :
.special_amp{ font-family: "Baskerville", "Palatino Linotype", "Palatino", "Times New Roman", serif; font-style: italic; font-size: 1.3em; line-height: 0.5em; font-weight:normal;}
and on functions-enfold.php there is the function: avia_ampersand
to rule the substitution. ( it set the ampersand sign between span tags with class: special_amp
By the way if you gave that custom-class: special_amp to a whole text-block it will show you that styling.so a lot of users have the problem to get rid of it than to have the style.
And : Baskerville is not a good Websafe Font – so it might not be seen the substitution on older Win Systems: https://www.cssfontstack.com/Baskervillejust one moment:
… on the css it is declared as Baskerville – but this is no Baskerville et sign.
To me it looks like the FF Clifford Eighteen italic
Try to find a google font like this …
Aha could be a Baskerville italic seem that a lot of Fonts got this variation on italic et signDecember 19, 2019 at 5:42 pm in reply to: Dataprotection with Enfold? How to set header-tags? #1167844Yes – i know that this is not caused by Enfold (alone) but even on wordpress themes ( twenty-twenty etc.) the script-src and style-src had to be set to unsafe-inline.
But i do not see why. Is it the customizer script that is implemented in a “wrong” manner?Yes – but first with such an amount of text it would have to be so small that you could not read it clearly. Because you break the grid on 768px and even if you do it on 990px the font-size will be too small.
Then – your setting is not the normal usage of grid-row element. If you could insert your images as grid-cell background you can choose that the image fills the cell- but then, of course, it gets cut.Maybe you are satisfied if the images are vertical aligned in the middle – there is an option to do so for grid-cell positioning in each cell.
-
This reply was modified 5 years, 10 months ago by
Guenni007.
December 19, 2019 at 11:25 am in reply to: Add caption in lightbox under image in masonry gallery #1167682December 19, 2019 at 10:54 am in reply to: Add caption in lightbox under image in masonry gallery #1167671sorry for the popup-modal-dismiss thing on that code – on my own customizing i have build a link in the mfp-bottom container misunsing the alt attribute for that – which builds an anchor link to parent page – so i declared to this class (popup-modal-dismiss) the close function too.
December 19, 2019 at 10:39 am in reply to: Add caption in lightbox under image in masonry gallery #1167666This is a bit more than you like to have but it shows you how you can have influence on different settings using Enfold specific classes – and even you can change the markup for lightbox on that
my example page is on id: 36548 so if you want to have that globally – get rid of if-clause
look to this example code:function popup_masonry_gallery() { if(is_page(36548)){ ?> <script type="text/javascript"> (function($){ $(window).load(function(){ $('a.av-masonry-entry.lightbox-added').magnificPopup({ type: 'image', image: { titleSrc: false, markup: '<div class="mfp-figure">'+ '<div class="mfp-close"></div>'+ '<div class="mfp-top-bar"></div>'+ '<div class="mfp-img"></div>'+ '<div class="mfp-bottom-bar">'+ '<div class="mfp-title"></div>'+ '<div class="mfp-counter"></div>'+ '</div>'+ '</div>', }, mainClass: 'avia-popup mfp-zoom-in mfp-image-loaded', closeOnContentClick: false, midClick: true, gallery: { enabled: true }, callbacks: { markupParse: function (template, values, item) { values.title = item.el.find('img').attr('alt') + '<br>' + item.el.closest('.av-masonry-entry').find('.av-masonry-entry-content').text(); }, // this - is Magnific Popup object. change: function() { $(this.content) .find('.mfp-top-bar') .html( '<h2>' + $(this.currItem.el).attr('title') + '</h2>' ); }, buildControls: function() { // re-appends controls inside the main container this.arrowLeft.appendTo(this.contentContainer); this.arrowRight.appendTo(this.contentContainer); }, }, }); // close the iframe window $(document).on('click', '.popup-modal-dismiss', function (e) { $.magnificPopup.close(); }); }); })(jQuery); </script> <?php }} add_action('wp_footer', 'popup_masonry_gallery');
first i get my selector – as on enfold it is the class lightbox-added
then i declare a new markup for that popup with f.e. a top-bar
on the callbacks i set the mfp-title to the image alt attribute and in the second line i look for the enfold description place – and get the text from: av-masonry-entry-content
in the new top-bar i place the img title as mfp-title !see result: https://webers-testseite.de/lightboxes/
click the first image – you will see where the texts comes from in that new markup
Important: The captions had to be shown on that masonry in the enfold options dialog – otherwise they are not in the markup.
so if you do not like to have the visible set the figcaption to display none..mfp-top-bar h2 { color: #fff; font-weight: normal; } .page-id-36548 .av-inner-masonry-content { display: none; }
by the way ‘self’ is ok but unsafe-inline and unsafe-eval are not ok – but on most of wordpress installation they are needed to have a working Site
December 18, 2019 at 12:22 pm in reply to: Dataprotection with Enfold? How to set header-tags? #1167240December 18, 2019 at 11:35 am in reply to: Menu Above – Logo Below – Transparent logo background with full screen slider #1167222By the way – what kind of chairs are these? They look a bit like “upholstered Arne Jacobsen chairs”.
edit : thanks i found it: “Armen Living Cassie Dining Chair”
December 18, 2019 at 11:27 am in reply to: Menu Above – Logo Below – Transparent logo background with full screen slider #1167218hm – what i can not believe is that your home page is not declared as it is. : home – but nevertheless we can address that page via its id:
.page-id-45 .av-section-bottom-logo.header_color { position: absolute; z-index: 5; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); background: rgba(255,255,255,0.5) !important }
you decide what looks best on transparency options.
December 17, 2019 at 3:48 pm in reply to: Dataprotection with Enfold? How to set header-tags? #1166869my thoughts on that are here resumed: https://kriesi.at/support/topic/header-security-entries/#post-1155949
the question is why we had to set it to unsafe-inline and unsafe-eval to have a working site?you can see here f.e.: that it is mostly a wordpress thing https://core.trac.wordpress.org/ticket/38695
I hope that WordPress should take care of that: and that an unsafe-inline and unsafe-eval is not necessary in the future releases
December 17, 2019 at 2:50 pm in reply to: Dataprotection with Enfold? How to set header-tags? #1166843na bei dem Ergebnis bin ich von den CSP und Header Security Einträgen HSTS ausgegangen! Das ist wie in meinem Link zu sehen schon was anderes.
Bei dem von Ihnen gesetzten Link – woran machen Sie das Fehlen von Meta-Tags jetzt dingfest?at the result of your link above I assumed that your quest concerns to the CSP and Header Security entries HSTS! This is like in my link to see already something else.
With the link you set – where do you make the absence of meta tags now visible?December 16, 2019 at 3:48 pm in reply to: Dataprotection with Enfold? How to set header-tags? #1166460hm – first of all : who is responsible for the contents of your page in your imprint?
So also this contact person has to take care of it.Everyone has completely different pages, and relevant also page requirements. If you use Google systems, then these must flow into your releases also there. Do you use cloud services or CDNs – and which ones etc. pp. Analytics Tools …
These are so many parameters that only you can know, that it would be unfair to charge these tasks to a theme creator.These header security entries are only indirectly related to the GDPR. They should prevent that various illegal attacks (Man in the Middle etc.) on the part of third can take influence on your site.
Well, don’t shirk your responsibilities. With SSL certificates, you also have to take care of it yourself.
That was my first idea – nikko had.
I use it often – when nesting columns.
the only difference is that a grid-row element is a full-width container. but that is not so hard to optain it the same width as normal content elements: https://webers-testseite.de/layout-mimic/December 14, 2019 at 2:02 am in reply to: Dataprotection with Enfold? How to set header-tags? #1165743https://kriesi.at/support/topic/header-security-entries/
i did it via htaccess file.
well the first i see is that there is something different on work.
There is nothing of the code i set on my page. no display flex etc. Guess your are trying a different method.may i see your site please – think of – i’m participant as you are and can not see private area
maybe a search on google could help you : look for wordpress and nested shortcodes f.e.: https://slewis.org/nested-wordpress-shortcodes/
it all is about setting filterpriority – and be carefull on dooing that too early – maybe a mod could give you a hint on what priority ( 10 or 20 …) it is best to implement.
this comes to child-theme functions.php:define('filter_priority', 10); add_filter('the_content', 'do_shortcode', filter_priority); add_filter('widget_text', 'do_shortcode', filter_priority);
– A nice idea ! indeed – and in combination with f.e. restrict widget plugin you can define for different pages in a quick manner different footers.
______________________
Off-Topic: by the way i showed a way to have a second footer widget row in the footer – or to have a widget row in socket here:
https://kriesi.at/support/topic/second-widget-line-in-footer/all you need is a custom child-theme footer.php and one entry in child-theme functions.php:
here for footer: https://kriesi.at/support/topic/second-widget-line-in-footer/#post-1156806
here for Socket: https://kriesi.at/support/topic/second-widget-line-in-footer/#post-1156800it will end in an extra setting in enfold options dialog f.e.:
This is meant to be a suggestion: https://webers-testseite.de/sticky-sidebar/
The sidebar is fixed as long as the content container can scroll. If the sidebar has more content than the screen height – it is recommended to scroll at the end.
you have to transfer this to sidebar left and to your page-id.
Here you can see another page with same idea: https://webers-testseite.de/sticky-elements/
or here: https://webers-testseite.de/layout-mimic/. – see whats happening on the end of the page. ;)December 11, 2019 at 11:39 pm in reply to: Galerie: Nicht verbundene Bilder erkennen und löschen #1165017there are some plugins – and most of them make a backup of marked for delete images.
f.e.: https://wordpress.org/plugins/media-cleaner/Make yourself a backup of media library and test yourself
PS : a lot of tools to redirect – and even Yoast SEO did it this way.
But i try to find a solution to completely hamper creation of those attachment pages – but didn’t found one.Well this is a wordpress feature –
if you go to your media library and open one image to edit – there is an attachment page.
If you are using Yoast SEO there is an Option to do this : redirect image attachment page to something.if you not using it – and you don’t like to use a plugin – you can redirect all image attachment pages f.e. to your homepage via child-theme functions.php:
function image_redirect_attachment_page() { if ( is_attachment() ) { global $post; if ( $post && $post->post_parent ) { wp_redirect( esc_url( get_permalink( $post->post_parent ) ), 301 ); exit; } else { wp_redirect( esc_url( home_url( '/' ) ), 301 ); exit; } } } add_action( 'template_redirect', 'image_redirect_attachment_page' );
Many thanks – I like people with good behaviour. ;)
Anyway – under my nick there is my contact information, if you know where the layout goes, then I’m happy to help.
But with your code above, which you used, I don’t think a special help is necessary. Sometimes you just can’t get to the simplest things, like the Order option of a Flex layout.
Otherwise my example pages are mostly without merging, so that you get quite far with the developer tools to pick out the css instructions.December 10, 2019 at 10:19 am in reply to: What's the best way to build a "catalog" page (a page showing all my products)? #1164355yes – for book collections there is a lot to do, and this is also a good idea to have a special custom post format on this, because there could be special keywords (like ISBN numbers etc.) .
Most of the time these plugins create only custom post type ( often shorted to CPT – if you see that) , as we have seen from the portfolios.That could be advantageous in your case.
What I see on the old example page, however, would work without problems only with Enfold elements.
You just have to look through the function of a blog page a bit more.
Don’t worry – every question is a good one; stupid are people who have no questions.Enfold presents some Options on showing a blog page ( i prefer to style it with ALB Element ) but you can set any page to show the blog ( if you have only one ) by setting it on Enfold Options – Theme Options = “And where do you want to display the Blog?” here you have the choice to set a page as Blog Page.
Under Enfold Options – Blog Layout – you have different settings on that page. ( you need the grid layout ) etc. pp.December 10, 2019 at 10:13 am in reply to: What's the best way to build a "catalog" page (a page showing all my products)? #1164353look to your other topic.
You have your single Books in Posts – so use first Blog Element to show these Posts in a Grid view.More and more I come to the conclusion that you may not have discovered the Enfold typical editor yet.
With your 18 topics, that might be the case.
First of all I recommend you to disable the Block Editor (Gutenberg). I find this only confusing in connection with Enfold.
This can be done under Dashboard – Enfold (or Enfold Child) – Theme Options = Select Your EditorThen you have a button below the Title input field of each Editor Page ( Pages / Posts/ Portfolio) : Advanced Layout Editor. If you press this button, then these Advanced Layout Builder Elements ( ALB Elements) will appear above the layout window (sometimes this is not quite clear in the theme because Avia Layout Builder is also used as a name).
This is indeed the great strength of this theme. An intuitive layout design via drag and drop; sometimes with a little too many settings, but most of them are quite useful and have grown over time.
December 10, 2019 at 9:58 am in reply to: 4 columns, images over text blocks: please help me align them nicely #1164348Now for those pages that are a collection of existing posts/portfolios there are exactly the blog representations.
Because I see that you have probably created the individual book pages all as posts. So you have the possibility to drag the element “Blog Posts” from the tab “Content Elements” to e.g. a color section. If you want to have a sidebar there, just drag it into a 1/1 container.
Then you can choose the grid display in the element “Blog Posts”.
Whenever you then add a new post in the category, the new entry will automatically appear on the overview page. -
This reply was modified 5 years, 10 months ago by
-
AuthorPosts