Forum Replies Created
-
AuthorPosts
-
Den 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, 1 month 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, 1 month ago by Guenni007.
what kind of logo file did you use. If you are using a svg file there are some tricks to determine the shrinking center.
you can open the svg with a good text-editor (on mac sublime-text or notepad++ on windows)
there you can place on top in the <svg … just after viewbox something like this:preserveAspectRatio="xMinYMin meet"
looks this way:
<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="110 33 400 120" enable-background="new 110 33 400 120" preserveAspectRatio="xMinYMin meet" xml:space="preserve">
xMinYMin means the svg shrinks to the top left
xMinYMid means the svg shirnks to left mid
xMaxYMax shrinking to bottom right
etc.October 19, 2017 at 10:02 am in reply to: Enfold 4.1.2 – Google map not working with wordpress 4.8.2 after upgrade #866125if so Rikard is right – ( and i use sometimes mappress pro plugin) you can avoid loading enfolds google routine by:
add_filter('avf_load_google_map_api', 'disable_google_map_api', 10, 1); function disable_google_map_api($load_google_map_api) { $load_google_map_api = false; return $load_google_map_api; }
The third party plugin got his own loading routine so after that you can use nevertheless the enfold google alb element.
But first : aktivate the api on Enfold dialog.
On my case the third party plugin got his own input field for api code.by the way a lot of css is unknown: f.e.:
<details> <summary>Copyright 1999-2014.</summary> Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. </details>
see how it works on : https://webers-testseite.de/ajax-portfolio/#tab-3
just css !by the way what kind of menu you are using on tablet and pc ?
i think you have the burger all the time ?
if not it has to be done by your codeif you got the burger allways you can do it
by counting the menu points (don’t know what is your menu point – so change number@media only screen and (min-width: 480px) { #av-burger-menu-ul li:nth-child(3) { display: none !important; } }
why not using the thing what has been made for it:
Walt Disney<sup>®</sup>
and the oposite:
H<sub>2</sub>O
see here: https://webers-testseite.de/ajax-portfolio/#tab-4
by the way it is :
sup { vertical-align: super; font-size: smaller; }
and:
sub { vertical-align: sub; font-size: smaller; }
these definitions are implemented in all browsers – you don’t need to set it in quick css – because vertical-align sub and sup are standard definitions.
- This reply was modified 7 years, 1 month ago by Guenni007.
yep
- This reply was modified 7 years, 1 month ago by Guenni007.
please try this in quick css :
@media only screen and (max-width: 767px) { .responsive #top #header_meta { background-color: #cb0147 !important } }
- This reply was modified 7 years, 1 month ago by Guenni007.
October 18, 2017 at 2:06 pm in reply to: Demo content laden, sichten, lernen und wieder löschen #865713one license each Domain.
If you have subdomains of a main domain i guess it will be sufficient to have only one license – but in that case ask the team betteri guess you mean the typewriter effect:
f.e. ( and this is nothing for a globaly use – set your heading to normal – not modern on enfold – and give it a class – f.e. letteranimation)
the 26 is the letter count including spaces so you have to go and change it to your words@keyframes typewriter{ from{width: 0;} to{width: 100%;} } @keyframes blinkTextCursor{ from{border-right-color: rgba(255,255,255,.75);} to{border-right-color: transparent;} } .letteranimation h1 { font-size: 48px !important; position: relative; width: 100%; margin: 0 auto; border-right: 2px solid rgba(255,255,255,.75); text-align: center; white-space: nowrap; overflow: hidden; transform: translateY(-50%); animation: typewriter 4s steps(26) 1s 1 normal both, blinkTextCursor 500ms steps(26) infinite normal; }
see heading on startpage of testsite of mine: https://webers-testseite.de/
- This reply was modified 7 years, 1 month ago by Guenni007.
by the way you see that you can insert on your own some do_actions in enfold by:
ob_start(); do_action('custom_hook_name'); $output .= ob_get_clean();
well take your enfold folder and do a search to : do_action
there you got all of the possibilities to hook to.you will find in helper-main-menu.php some solutions:
ava_main_header
ava_main_header_sidebar
ava_before_bottom_main_menu
ava_inside_main_menu
ava_after_main_menu
and
avia_meta_header (don’t know why it is here avia)try the last one:
add_action( 'avia_meta_header', 'enfold_customization_header_widget_area' ); function enfold_customization_header_widget_area() { dynamic_sidebar( 'meta-header' ); }
this code will do the trick but to understand enfold the obove will be helpful:
@media only screen and (max-width: 989px) { .bandegrise .av_one_half:nth-child(2) { width: 99% } .bandegrise .av_one_half:nth-child(3) { display: none } }
or a bit different with not:
@media only screen and (max-width: 989px) { .bandegrise .av_one_half.first { width: 99% } .bandegrise .av_one_half:not(.first) { display: none } }
i do here 99% some browsers will calculate f.e. the border to the box others not. So 100% could give sometimes not the desired result
But!
You don’t want to have a 1/2 column and a white room.
So it is better to get rid of the column
the column itself got a screenoption toowell the whole color-section got this class!
And you like to get rid only the little image :go and give a unique class to the image element itself – and by the way you are using enfold 4.1.2. look to the image alb screen-options dialog.
hide on medium large screens and under it (3 marks to set)- This reply was modified 7 years, 1 month ago by Guenni007.
the hook itself is only one part of the work.
You have to make a new header on dashboard – appearance – widgets called header.
the thing with: Enfold Child Custom Widget Area enter header and press “add widget area”
By the way you only can use one of them!
If you want more than one you have to change function name: enfold_customization_header_widget_area
and the widget name you like to create header
next is some css to style it- This reply was modified 7 years, 1 month ago by Guenni007.
because the site is a live site i changed to individual height – that is easy to reach now. But there might be a solution – maybe that the table layout than under responsive case is gone.
if you got troubles on permalink and Umlaute open a new thread
sometimes an ä goes to a etc on permalink – and that is not nice – it should go to an aeby the way – which of the codes helped you to solve it?
the last with empty both values ?define('DB_CHARSET', ''); define('DB_COLLATE', '');
some kind of overdetermination
October 16, 2017 at 8:37 pm in reply to: cursor indicates clickable area where there is no link present on homepage #864927by the way – nice logo !
October 16, 2017 at 7:43 pm in reply to: cursor indicates clickable area where there is no link present on homepage #864919rename the unique id to f.e. : approval or consent
October 16, 2017 at 7:35 pm in reply to: cursor indicates clickable area where there is no link present on homepage #864918hm i can see in the code that the cursor has been inherited by:
input[type="submit"], #submit, .button { cursor: pointer; }
look to your alb element or to debug mode if there was used a submit button or something like this.
Edit : i see the whole section got the id=submit thats it
you can see it on the link: http://salesnv.com/#submit
By the way – your demo button on the menu has a wrong link
October 16, 2017 at 2:23 pm in reply to: flickering on header with chrome and fixed frame layout #864818Well Vinay – it is not perfect – but it is acceptable now.
The white was horrible – it is now ok.Thanks for the solution
by the way – my solution above ( stretched layout but with child-theme header and footer – and some css) does not flicker at all. And the frame is not a static one – smaller screens will have a smaller frame width. But i’m a lazy one – so sometimes i will prefer this fix for it.
Can be closed now.
-
AuthorPosts