Forum Replies Created
-
AuthorPosts
-
by the way: if you like to have it under the normal widget area of enfold –
use this hook:add_action( 'avia_after_footer_columns', 'enfold_under_footer_widget_area' ); function enfold_under_footer_widget_area() { dynamic_sidebar( 'after-footer' ); }
hey mike this was nearby my method i used for one customer:
i used a bit different hook: mine is already in the footer containeradd_action( 'avia_before_footer_columns', 'enfold_customization_footer_widget_area' ); function enfold_customization_footer_widget_area() { dynamic_sidebar( 'before-footer' ); }
same as Mike described – create a new widget area (in my case call it) : before-footer
The rest will be some debug mode action :lol: ( on widgets we are able to use avia shortcodes ? – yes )
means – activate debug mode and than goto a page or post and do create your needed columns and contents.
copy the shortcode from the debug mode window and paste it to your new widget area. Bingoyou can clean it a bit – because there are a lot of settings not used in the shortcodes
See here: https://webers-testseite.de/#footer
Big Advantage – the columns break with enfold settings in responsive case. because they are based on enfold shortcode
See short form of your wanted code here for your 2/3 1/3 option:
[av_two_third first] [av_heading heading='Left Heading' tag='h3' style='blockquote modern-quote'][/av_heading] [av_textblock ] Left 2/3 Content [/av_textblock] [/av_two_third] [av_one_third ] [av_heading heading='Right Heading' tag='h3' style='blockquote modern-quote' ][/av_heading] [av_textblock ] Right 1/3 Content [/av_textblock] [/av_one_third]
if you like to have the same heading style:
#footer h3 { font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
-
This reply was modified 7 years, 8 months ago by
Guenni007.
or – if this is the font-resizer you are using do this to your child-theme functions.php:
function font_resize_shortcode() { return fontResizer_place(); } add_shortcode('font-resize', 'font_resize_shortcode');
and add this to your phone number field:
[font-resize]
the rest will be css ( height and floating behavior)hey Basilis – i’m playing a bit with the plugin and all is fine for blog pages. But i can not see on how to style it for pages that are made with avia layout builder.
I can insert in the field “custom amp editor” and use this it is ok.
But i guess if the page is built by the alb – the amp page builder does not work – and menu does not work at all.But did a linked url has to be readable as url ? For SEO options this is not necessary to have it.
That is the reason for buttons , Text links etc.
Why it is important for you to show the whole url? you can set a “read more…” etc.
even this will do it – and it looks very clear without the linked url : f.e:
Owner/Builder Risk (3 articles)you can make it as Icon List Small
and have for pdfs a pdf icon in front etc. pp.-
This reply was modified 7 years, 8 months ago by
Guenni007.
Lol – Basilis – this link seems to be more relevant for the most of the users: https://de.wordpress.org/plugins/accelerated-mobile-pages/
by the way: nice tip. Looks good !
And by the way all concerns to the same hook ( ava_after_main_menu) this is the elegant method – but if you like to add to a different hook ( not only the ava_after_main_menu ) in the header area you only have to change the functions name.
A function needs to be bijective – one-to-one , if not you got your white screenadd_action( 'ava_after_main_menu', 'enfold_customization_header_widget_area' ); function enfold_customization_header_widget_area() { dynamic_sidebar( 'header' ); } add_action( 'ava_main_header', 'a_different_function_name' ); function a_different_function_name() { dynamic_sidebar( 'headertel' ); }
October 20, 2017 at 5:41 pm in reply to: Need layer slider blank template / wir brauchen Layer Slider leere Vorlage #866810wofür ? als Weißpunkt abgleich ? Ich verstehe das Begehren nicht.
Was ist der Zweck eines solchen Unterfangens?you will find the settings on shortcodes.css look for :
/*animation variations*/f.e.:
.avia_transform .avia_start_delayed_animation.bottom-to-top { -webkit-animation: avia-btt 0.8s 1 cubic-bezier(0.165, 0.840, 0.440, 1.000); /* Safari 4+ */ animation: avia-btt 0.8s 1 cubic-bezier(0.165, 0.840, 0.440, 1.000); /* IE 10+ */ opacity: 1; }
try this above ( 2 rules)
.js_active .grid-image { opacity: 1 !important; } .avia-slideshow li { visibility: visible; opacity: 1 !important; }
After that we will see if the functionality is ok – because on my simulation the slider did not work.
did you deactivate all the third party plugins ? And look if it works than.
I see you got jetpack and something like custom facebook feed etc pp.
Try this first – and activate the caching plugins at last – because otherwise you have to clear cache allways before seeing results.
than activate one after the other and see if there are some inconsitstencies.-
This reply was modified 7 years, 8 months ago by
Guenni007.
don’t know where it comes from. I have to have a deeper look to your codes :
but first look if you have set an opacity to 0
add to quick css :.js_active .grid-image { opacity: 1 !important; }
don’t know if the important is necessary – try it first without – that is one part of the solution.
Now i have to look to slider.and try that with your image:
.av-caption-image-overlay-bg { opacity: 1 !important; transform: scale(0.9); background-image: url(https://sanotech.my-tagit.be/wp-content/uploads/2017/10/service_bg-e1508262915962.jpg); background-size: cover; }
or play a bit with opacity (by the way – maybe it is better to have webkit-opacity too)
.av-caption-image-overlay-bg { -webkit-opacity: 0.7 !important; opacity: 0.7 !important; transform: scale(0.9); background-image: url(https://sanotech.my-tagit.be/wp-content/uploads/2017/10/service_bg-e1508262915962.jpg); background-size: cover; background-color: #fff !important; }
ok – a screenshot isn’t the way a good advice can be given.
The code above works (as you can see on my page above on image overlay )To have only the colored field behind:
.av-caption-image-overlay-bg { opacity: 1; background-color: #1885ad; transform: scale(0.9); }
you than have to do this with caption text:
.av-image-caption-overlay-center { padding: 20px; }
does your Font Resizer support shortcodes to insert it?
because you can insert in phone info field shortcodes too !
if no support for it : create your own shortcode for that font-resizer !
i would try to eliminate the fontello icon and than place instead a background-image:
.image-overlay .image-overlay-inside::before { background: url(https://homeurl/wp-content/uploads/2015/07/service_bg.jpg); background-repeat: no-repeat; background-size: cover; content: "\00a0" !important; }
see here: Link
if you like to influence the transparency of the overlay color:.avia_transform a:hover .image-overlay { opacity: 0.8 !important; }
-
This reply was modified 7 years, 8 months ago by
Guenni007.
aha – that is the malus if i can not see the site to which it concerns .
no header_meta there – no success
great – has he a link to the page in private content ?
:lol
As far as i know – He likes to have this element only for his site. There is no such element. And i see that there is some extra javascript on that element.
öffne dein svg mal in einem Editor (nicht text editor oder wordpad, die fügen blödsinnigen code hinzu – nimm notepad++ oder eben sublime text am mac)
das sieht man oben im Kopf (ps ich entferne immer die generator zeile) dann so aus:
<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 821.8 296.7" style="enable-background:new 0 0 821.8 296.7;" xml:space="preserve">
Durch hinzufügen einer Anweisung nimmt man einfluss auf das Shrink Verhalten und die Position in der Viewbox:
<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 821.8 296.7" style="enable-background:new 0 0 821.8 296.7;" preserveAspectRatio="xMinYMid meet" xml:space="preserve">
dann bleibt das svg linksbündig und wird aber in der höhe vermittelt !
oder eben hier runterladen: Link
bisher soweit ich sehe alles ok –
bitte noch die Anweisung.logo img { display: none }
entfernenDen einen Link oben sollte dir zeigen, was ein svg so alles vorherbestimmen kann.
wenn du das Browserfenster mal in der x Richtung verkleinerst, und danach in der y-Richung siehst du das es nach links sich verkleinert.
in der y-Richtung aber in der Mitte bleibt.das kann man durch manuelles bearbeiten des svg in einem Texteditor erreichen.
PS : bei diesen Menu Dimensionen solltest du entweder die social Buttons in das Topmenu verbannen, oder du gehst unter header – header verhalten auf: Let logo and menu position adapt to browser window
wahrscheinlich musst du sogar noch den umbruchpunkt zum Burgermenu hin verändern.du hast irgendwo das svg als background eingesetzt.
.logo { background: url('http://www.contigo-personal-training.de/wp-content/uploads/2017/05/cpt-Logo.svg') no-repeat; height: 60px; top: 15px; width: 170px; }
das muss inline code sein ( hast du zB. das customize von WP benutzt ?)
Such das mal , und lösche das.
Dann setzt du das logo ( man kann auch svgs nehmen) im Enfold Dialog ein (ps ist wohl auch schon geschehen; daher doppelt !)
da du mit der Anweisung oben höhe und weite gesetzt hast ist auch das hier eingesetzte svg mit den gleichen Daten sichtbar !Bei Firefox fällt es nicht auf weil offensichtlich deckungsgleich – in den anderen browsern ist es wohl anders.
wenn das geht, dann füge um das Logo sichtbar zu machen in das quick css ein:
.logo img { width: 170px; height: auto}
Da ist WordPress ein wenig hinterher mit der svg Unterstützung . Es interpretiert die svgs als hätten sie 0px höhe und 0px weite.
Und natürlich entferne die Anweisung
.logo img {display: none }
-
This reply was modified 7 years, 8 months ago by
Guenni007.
did you set up an amp site ?
enfold offers a responsive Layout – to that the site is well presented on mobile – but an amp site is something different.
By the way there is an amp wordpress plugin ! which creates an amp page – but be carefull it sometimes disable links to some pages (f.e. imprint pages) so that on f.e. germany some cease-and-desist order my occur!
Edit: sorry i see now that your pages have the /amp/ link in permalink
Don’t know why they are not acceptedich hasse den neuen Firefox – mein geliebtes Firebug läuft nicht mehr; da hätte ich das ganze schneller gefunden.
Übrigens sieh mal hier was du am svg machen kannst, damit du das shrinken beeinflussen kannst: Link
Solved : you set it as background ! (it must be an inline css )
.logo {background: …}
You don’t need to do that.
Just enter it in the enfold options and give the svg a width (in absolut values).logo img { width: 400px; height: auto}
you have inserted the svg on a different way?
i do not see why there are two times the svg butif you set the .responsive .logo img to display none too
.responsive .logo img {display: none}
it disappears ! ??? it is a riddle
how do you insert the logo svg?
on firefox – mac i do not see the logo twice – but on safari – yes there are two logos
on safari i see that on layout.css the
.responsive #top .logo
is set to
display : table
but this is enfolds normal setting on small screens
if i deactivate it the second logo disapears.Edit : by the way on firefox the same thing but the two logos are congruently above each other!
– so i don’t know why there are two logos – i will have a deeper look-
This reply was modified 7 years, 8 months ago by
Guenni007.
-
This reply was modified 7 years, 8 months ago by
-
AuthorPosts