Forum Replies Created
-
AuthorPosts
-
du hast im enfold.css folgende Regel erstellt:
#top .header_color p, #top .main_color p, #top .alternate_color p { font-size: 18px; line-height: 1.4em; }
eigentlich erbt der p-tag die Schriftgröße (und Zeillenhöhe) vom body tag!
diese css Regel habe ich nicht in meinem css. Daher dürfte das der Knackpunkt sein.Allerdings ist mir noch unklar wie du es eingefügt hast. Denn normalerweise befinden sich die Einträge in der Quick css vor
diesen Einstellungen im css ( das sind die Enfold Optionen des general stylings..container {width:100%;} .container .av-content-small.units {width:73%; } .responsive .boxed#top , .responsive.html_boxed.html_header_sticky #header, .responsive.html_boxed.html_header_transparency #header{ width: 1310px; max-width:90%; } .responsive .container{ max-width: 1310px; }
durch die höhere Spezifität der css Regel ( 1ID, 1Klasse, 1 Element) wird das inline css nicht umgesetzt.
sorry bin auch nur “Participant” – aber eben mit einer Menge an css und javascript Erfahrung.
Sonst schick mir doch mal nur den Link ( Zugangsdaten brauche ich nicht ) via E-Mail zu – Daten sind unter meinem Nick hinterlegt.kannst du mal den link zur testseite posten?
this is strange because on my end it works well. On your preview it looks as if the value goes to the line-height value only.
do you have the newest Version of Enfold? but, as far as I know, such a bug did not occur yet.yes – as far as i can see –
or do you mean those signs on the first column – did you try to insert on menu label an image ( maybe gif )________________
if you like to have a little extra :#top #header .avia_mega_div > .sub-menu > li > ul > li a:hover .avia-menu-text { padding-left: 10px; -webkit-transition: all 0.5s ease; transition: all 0.5s ease; color: white; } #top #header .avia_mega_div > .sub-menu > li > ul > li a .avia-menu-text { -webkit-transition: all 0.5s ease; transition: all 0.5s ease; }
-
This reply was modified 4 years, 7 months ago by
Guenni007.
well the given css has one selector more than the above – and then it is more specific :
Try:div .mfp-title { font-size: 20px; }
you see that the rule with the div wins that competition ;)
and if you want to be sure that your custom css overrules the given one take the #top rulebut I think there is a problem of understanding. A background image per se can’t be responsive, because the content decides the size of the container.
To display the complete content the container height has to be adjusted flexibly. No image in the world meets such criteria.
I have here a color-section forced by css to be responsive to the background image.
You see what happens to the content when the screen width is narrow?
https://webers-testseite.de/responsive-colorsection/Now to the sliders – if you choose the fullscreen slider that is similar to that issue.
The Slider is forced to have a 100% of screen height : 100vh.
what should an image do that is landscape on a portrait format hold phone?If you take the full-width slider – that reacts responsive – but content of it should have enough place.
Try on a copy of that f.e. startpage the full-width slider.Thanks – On which of the pages is the problem described by you
what exactly do you mean by “strange characters” ?
these are indicators that there is an unordered list – just “bullet points”if you do not like to have them – just set them to display:none
.avia_mega_div .avia-bullet { display: none; }
and if you do not like to have the list points with offset to the left:
#top #header .avia_mega_div > .sub-menu > li > ul > li a { padding: 3px 12px 3px 0px; }
So publish the page here for everyone;
sometimes non-mods can help, toouse the little plugin from Günter: https://github.com/KriesiMedia/enfold-library/tree/master/integration%20plugins/Enfold/Special%20Character%20Translation
and add as many special characters you like to have in that php –
( i changed my version to only use one # before and after the signs )see example : https://webers-testseite.de/straight-quotation-marks-in-headings/
In principle I would also welcome a vision of where the journey is destined to go.
But if you have ever worked with Elementor, e.g. the theme Jupiter comes along with this editor, you will appreciate the intuitive use of Enfold’s Drag&Drop. – Yes, Elementor is a powerful tool – but I get a similar layout result much faster with Enfold via drag&drop.
Leaving this principle would be completely wrong – it would mean that Enfold would give up a unique selling point.
The majority of users are not web design experts here, who by the way also appreciate the haptic quality, but private users, or at least only small to medium sized companies, who design their sites themselves.
I also get along quite well with Divi Builder, but even here a quick implementation of an own layout is not as possible as it is with Enfold. Not without reason there are 100s of templates that you can import.If you really want to go there and use Elementor – please open a new theme with it and keep Enfold as it is.
If something is missing for non-professionals, it would be the element of dividers.
Those of you who know how to do it, can do it already – and have their own svg instead to style section dividers._______
about bugs and bug-fixes:
it is a fact that a constantly changing world needs to experience new adaptations of proven methods.
The development of a WordPress theme is no exception.
The implementation of the GDPR was such a thing that the developers were approached.
Closing security gaps against constantly new cyber attacks is always a new challenge. WordPress code enhancements have to be adopted and any bugs that arise have to be fixed.I think that the team offers fast and good work also here.
Strangely enough, with Microsoft operating systems, no one gets upset anymore about the fact that bug fixes have to follow all the time. Unfortunately this is also the case with OSX.
the parameter to change is only background-size
the (pseudo-) container itself had to stay on 100% (height and width) ( that is the exact dimension of the parent container)
you can play with different values relative or absolute values.
you can try :
background-size: contain ( or cover )
or – if you like to have it perfect – you can set different values for different screen-width ( media-query rules)try first : background-size: contain
maybe thats what is best.I think I can remember, is this not a everytime problem of css – to center a graphic in the horizontal?
: not at all ;)
so I don’t know where you tested it, maybe you should empty the cache of all involved systems, but on 4 of the browsers I use so your svg is centered.
You might not use a relative unit of measurement for the size of your svg, but set the background size to a fixed value (350px)
– or background-size : containNovember 26, 2020 at 7:39 pm in reply to: Google Maps Shortcode issue in a non-GDPR country #1263344Legally I’m afraid, that if visitors from one of the countries in which the GDPR (DSGVO – for German speaking countries) is valid can reach your website – this website must also comply with the laws.
So if I now search for a property in this region, and I come to your site, the site would not comply with the law even though it is located in the USA.
November 26, 2020 at 7:31 pm in reply to: New Version? – No Change log in Download, Themeforest or Kriesi-Page? #1263335It is probably just a Black Friday hint. – without that there really is a new version. – Envato likes to do that.
November 26, 2020 at 5:35 pm in reply to: Enfold Latest-News Sidebar Widget: reduce Excerpt Length and insert "read more" #1263307here is the edited class-framework-widgets.php
see lines 1020ff
Pastebin Linkthen you only need the excerpt shortener in additon to this:
function custom_news_excerpt(){ ?> <script> (function($){ function trimByWord(sentence,wordcount = 5) { var result = sentence; var resultArray = result.split(" "); if(resultArray.length > wordcount){ resultArray = resultArray.slice(0, wordcount); result = resultArray.join(" "); } return result; } $(document).ready(function(){ $('.news-content').each(function() { var newsLink = $(this).find('.news-link').attr('href'); $(this).find('.news-excerpt').text(function(index, currentText) { return trimByWord(currentText); }); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_news_excerpt');
November 26, 2020 at 5:19 pm in reply to: Enfold Latest-News Sidebar Widget: reduce Excerpt Length and insert "read more" #1263299well there is a more complex way of having a substituted edited : class-framework-widgets.php
on that it will be possible to have the Read more insert translatable with avia_framework.but a fast way is to put this in child-theme functions.php:
on my opinion it will be better to shorten the amount of words in that excerpt than to have letter shortening.function custom_news_excerpt(){ ?> <script> (function($){ function trimByWord(sentence,wordcount = 5) { var result = sentence; var resultArray = result.split(" "); if(resultArray.length > wordcount){ resultArray = resultArray.slice(0, wordcount); result = resultArray.join(" "); } return result; } $(document).ready(function(){ $('.news-content').each(function() { var newsLink = $(this).find('.news-link').attr('href'); $(this).find('.news-excerpt').text(function(index, currentText) { return trimByWord(currentText); }); $(this).find('.news-excerpt').append('<div class="read-more-link"><a class="more-link" href="'+newsLink+'">Read more<span class="more-link-arrow"></span></a></div>'); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_news_excerpt');
f.e. for your quick css:
.avia-slideshow-inner li::before { background-image: url(https://webers-testseite.de/wp-content/uploads/Logo-animiert-2.svg); background-size: 50vw; z-index: 5; position: absolute; top: 0; left: 0; content: ""; background-repeat: no-repeat; width: 100%; height: 100%; background-position: center; }
you can have a before pseudo container on every selector you like. The before content is set to empty:
content: ""
and then a background-image your svg etc. pp. if you need detailed advice – it will be better to have a concrete link to your page.Trial and Error is the best way – just create your own test-page and have a look how it works.
Grid row is a mighty element – you can “nest” columns because you can have columns in it. etc.
with a little snippet you can avoid the full-width of that element too. So it is a kind of color-section with the possiblity to have independent parts to put in other elements to.use the grid-row element for that.
you can change the sizes on right bottom Corner of that element to 3/5 2/5
for your image uset the grid-cell background option .
you can see here on the demo the 1/2 1/2 case: https://kriesi.at/themes/enfold-freelancer/November 23, 2020 at 9:17 am in reply to: Colour section background image mobile responsive issue #1262283an additional setting is needed for safari browsers – that the text in content stayes selectable and clicks are all valid: pointer-events on the before container had to be set to none:
.bg-fixed { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); background-size: 0 !important; overflow: hidden; position: relative; top: 0; } .bg-fixed:after { content: ""; position: fixed; width: 100%; height: 100%; top: 0; left: 0; background-image: inherit !important; background-repeat: no-repeat !important; background-size: cover; background-position: inherit; pointer-events: none; z-index: -1; visibility: visible !important; /** will-change: transform; - only if you have less then 3 images like that ***/ }
PS: sometimes it is good to preserve an existing :before container – then you can use the after pseudo-container.
I do not know what is going on with me lately. I’ve been overlooking things that are obvious. The popup for the media file used has even better a title input field – which can be set independently from the one in the media library. This is even better suited for this purpose.
But you always have to set it in the advanced options of the image – the title attribute from the media library does indeed not appear on the image in the frontend.and please report that off topic info too.
It would be nice – because we can use the title for lightbox Info.if you do not want to influence all fullwidth buttons on all pages – you should give to those fullwidth-buttons a custom-class.
in my case i use for that : fullwidth-specialbuttonbecause of the inline setting of most of those values we had to use !important on most of the rules
#top .fullwidth-specialbutton .avia-button.avia-button-fullwidth { padding: 40px !important; margin: 40px 30px !important; width: calc(100% - 60px) !important; /*** this has to correspond to your margin (left/right) settings ***/ background-color: yellow; color: #333 !important; border-radius: 20px !important; border: 2px solid #333 !important; box-shadow: 2px 2px 15px #333; -webkit-transition: all 0.5s ease; transition: all 0.5s ease } #top .fullwidth-specialbutton .avia-button.avia-button-fullwidth:hover { background-color: darkblue; color: #FFF !important; -webkit-transition: all 0.5s ease; transition: all 0.5s ease } /*** this background is on enfold for highlite status - we do that with hover-style ***/ #top .fullwidth-specialbutton .avia-button.avia-button-fullwidth .avia_button_background { display: none } #top .fullwidth-specialbutton .avia-button.avia-button-fullwidth .avia_iconbox_title, #top .fullwidth-specialbutton .avia-button.avia-button-fullwidth .avia_button_icon { font-size: 50px !important; }
on most css rules concerning to an orientation the rules goes from top, right , bottom, left ( clockwise)
so you can have f.e:.avia-button { border: solid #FFF !important; border-width: 0 10px 0 5px !important }
if you have top/bottom and right/left the same value you can shorten it to:
.avia-button { border: solid #FFF !important; border-width: 0 10px !important }
on border-radius it is again clockwise but you start at upper-left corner
f.e.:.avia-button { border-radius: 5px 10px 20px 30px !important }
To give better advice, it would be good to see the corresponding page. Maybe a custom class for these buttons is then the best solution.
or try this in your quick css:
/****** sticky header with transparent bg at beginning *************/ /****** adjust the 989px to when responsive case burger is visible ***** my setting is 990px ********/ @media only screen and (max-width: 989px) { .responsive #top #wrap_all #header .container { width: 90%; max-width: 90%; } #header { position: fixed !important; height: 115px !important; /*** 80px if you got no top header ****/ max-height: 115px !important; /*** 80px if you got no top header ****/ } .responsive #top #wrap_all .av_header_transparency { background-color: transparent; } /****** if you like to have on mobile white bg first then this and remove transparency option .responsive #top .header_bg { opacity: 1; filter: alpha(opacity=100); background-color: #fff !important; } *************/ .responsive #top .av-logo-container , .responsive #top .logo a, .responsive #top .logo img { height: 80px !important; max-height: 80px !important; } .responsive #top .av-main-nav .menu-item-avia-special a { height: 80px !important; line-height: 80px !important; } } /****** End *************/
you can see it here in action: https://webers-testseite.de/pureinstall/
sorry that the topic is closed too soon. https://kriesi.at/support/topic/how-to-remove-h3-in-slider-accordeon/#post-1260055
You do not have to mark that field but to unmark it.
Hide means – to not show these fields -
This reply was modified 4 years, 7 months ago by
-
AuthorPosts