Forum Replies Created
-
AuthorPosts
-
i suspect – yes – because there is a bigger step on enfold update from 3.47 to 3.51 – but we will hear the mods on that
what do you mean by “broken”
Sometimes in different combinations the js files of the advanced layer slider are in conflict with bwp minify.
Then i goto bwp settings / managed enqueued files and set those js files of layerslider to “scripts to not minify”thanks Ismael – yes i removed it and do it on that case manually on adding on top a colorsection with “widget everywhere” alb element.
i’m planning to create a town portal page – and i want to show on different places ( f.e. under the header – before content (top of main)) to show some entries of a given category.
But nevertheless this question is important – there are these tips to create a “header-widget-area”
but you can see it in private content link that the scroll offset does not consider that existing header-widget-area
the first color-section is laying under the widget-areaich vermute mal , dass Du die Seite via Liveupdate Funktion von WordPress upgedatet hast?
ich nutze schon immer nur die Methode via ftp – scheint mir die sicherste zu seinich denke da musst du jetzt auf einen Moderator hoffen – warten
___________I guess that you have updated the page via LiveUpdate feature of WordPress ?
I use allways the ftp method – seems to be the safest way.so i think you have to wait now for a mod to help you.
________
by the way : the update from 3.5 to 3.5.1 only updates (besides the style.css) the shortcodes.css
maybe you can try to upload that file manually (ftp) to that concerning folder (enfold/css/shortcodes.css)sorry – it was my fault – a copy paste (impressum) fault (copying divs and other html elements from another installation into visible field to the tab results in errors)
can be closed
-
This reply was modified 9 years, 4 months ago by
Guenni007.
yes begrafiks – i do it in your way! but this is for a beginner a little hurdle because he stucks on that point.
and yigit “learning by teaching” is just egoism ;)
to find solutions for other participants question is the best way to learn something about enfold. – And this makes my work with my cutomers easier.so here seems to be the complete rule:
.header_color .avia_mega_div { background-color: rgba(255, 255, 255, 0.85) !important; } .avia_mega_div .sub-menu, .header_color .main_menu ul .avia_mega_div ul, .header_color .main_menu .menu .avia_mega_div ul li a { background-color: transparent; }
but this only rules the mega-div !!! if you want the whole dropdown menus we must do something different !
try this first:
.header_color .avia_mega_div { background-color: rgba(255, 255, 255, 0.85) !important; } .avia_mega_div .sub-menu, .header_color .main_menu ul .avia_mega_div ul { background-color: transparent !important; }
i think anything under 0.8 opacitiy makes it diffuse
next step is that the list points got its own background-color (and hover state)
and this is only for mega menu – the rest dropdown menus you don’t need to adopt?
is there a good plugin for that not to complicated and working well with Enfold ?
Have you any good advice for me?Thanks
hm – now i know:
#if ( is_singular( 'portfolio' ) && has_term( 'apotheken', 'portfolio_entries' ) ) { …
my fault was that i thought the Portfolio Categories are “Categories” :lol
can be closed now
hm – can be closed i got it in this way (two logos option – and logo img on display none)
it seems to be important to have the absolute path to the uploaded svg images (code comes to child-themes function.php)function first_logo($logo) { $logo .= '<strong class="logo first-logo"><a href="/bonnzeit">' ; $logo .= file_get_contents("absolute-url1.svg"); $logo .= '</a></strong>'; return $logo; } add_filter('avf_logo_final_output', 'first_logo'); function second_logo($logo) { $logo .= '<strong class="logo second-logo bg-logo"><a href="/bonnzeit">' ; $logo .= file_get_contents("absolute-url2.svg"); $logo .= '</a></strong>'; return $logo; } add_filter('avf_logo_final_output', 'second_logo');
i see that this is defined in the “function-set-avia-frontend.php”
isn’t it possible to use perhaps the “$use_image” to insert a inline svg ? instead of the $sub ?
maybe something like this:
add_filter('avf_logo', 'kriesi_logo_addition'); function kriesi_logo_addition($use_image) { $use_image .= ??? return $use_image; }
if i use in “function-set-avia-frontend.php” :
if($logo = avia_get_option('logo')) { $logo = apply_filters('avf_logo', $logo); if(is_numeric($logo)){ $logo = wp_get_attachment_image_src($logo, 'full'); $logo = $logo[0]; } $logo = file_get_contents($logo); $logo = "<$headline_type class='logo'><a href='".$link."'>".$logo."$sub</a></$headline_type>"; }
but i don’t want to think at every time i update the theme on that change.
-
This reply was modified 9 years, 4 months ago by
Guenni007.
i thought i can take the whole content of the svg and rename it f.e: inline-logo.svg.php
i can place this in root of child-theme and try to “get” it as inline.svg via
get_template_part('images/inline', 'logo.svg')
__________________________________________
on your code – i use it often in this form :
add_filter('avf_logo_subtext', 'kriesi_logo_addition'); function kriesi_logo_addition($sub) { $sub .= "<span class='logo-title'>"; $sub .= get_bloginfo( 'name', 'display' ); $sub .= "</span>"; $sub .= "<span class='logo-title logo-subtitle'>"; $sub .= get_bloginfo( 'description', 'display' ); $sub .= "</span>"; return $sub; }
so i can use name and description from WP
but how do i set in the svg code as $sub ?
-
This reply was modified 9 years, 4 months ago by
Guenni007.
March 11, 2016 at 7:24 pm in reply to: Full Width Easy Slider – how make it full width but narrower? #597005Great advantage of advanced layerslider – you can determin the responsive behavior.
so with your pictures you can set the layerslider to 100% width and 688px height and start responsiveness under 1100px etc. ppMarch 11, 2016 at 7:03 pm in reply to: Full Width Easy Slider – how make it full width but narrower? #596992if you don’t have something against unproportional stretching those images you can give the slideshow a custom css class (f.e. : “specialslideshow”)
the 100vh is the 100% screenhight ! and i substact the header hight here
.specialslideshow img { height: calc(100vh - 150px); }
look (sorry for using your images – if you answer here on my post i will delete them immediately)
http://webers-testseite.de/enf02/slideshow-special/March 11, 2016 at 6:41 pm in reply to: Full Width Easy Slider – how make it full width but narrower? #596980try to take the full-screen slider instead.
This i think stops at the bottom of the screenheight.every page of your site has its own page-id in form of a class to body ! (look to the source code of the concerning website page)
so if you don’t want to install a plugin the only way is to set up for each page-id a unique rule in quick cssso if you have the code above set up first the non-changing rules:
.main_color { background-attachment: fixed; background-clip: border-box; background-color: #ffffff; background-origin: padding-box; background-repeat: no-repeat; background-size: cover; }
and than for every page (even if home page got it) for example.
.page-id-31 .main_color { background-image: url("//studiopsicologoverona.it/wp-content/uploads/2016/03/PSICOLOGO-VERONA-GIORGIO-DAL-MASO.jpg"); } .page-id-65 .main_color { background-image: url("//studiopsicologoverona.it/wp-content/uploads/2016/03/PSICOLOGO-ROMA-GIORGIO-DAL-MASO.jpg"); }
you can see it here : http://webers-testseite.de/enf02/ and here http://webers-testseite.de/enf02/company/
and i only set up in quick css :
#wrap_all, #main { background: transparent !important } .main_color { background: rgba(255, 255, 255, 0.8) }
by the way : maybe this is a nice little plugin – http://inoplugs.com/portfolio-item/wp-backgrounds-lite-version/
on every page or post you can choose a different background image – and i think it is set to cover and fixed allready
.main_color { background-attachment: fixed; background-clip: border-box; background-color: #ffffff; background-image: url("//studiopsicologoverona.it/wp-content/uploads/2016/03/PSICOLOGO-VERONA-GIORGIO-DAL-MASO.jpg"); background-origin: padding-box; background-repeat: no-repeat; background-size: cover; }
cover means that it stretches the image to the limitating size and the other one goes to auto
see difference to contain instead of cover
it is now in maintenance mode !
if these text blocks are repeated every time you can give them a custom class.
Do that and than we find that way you like. in the absence thereof i selected that special block by doing that trick.And we should then better take relativ width like 70% to stay responsive !
something like this – so you have to set the custom class “blocksatz” and do:
.blocksatz { margin: 0 auto; text-align: justify; width: 70%; }
btw: very nice photos !!!
-
This reply was modified 9 years, 4 months ago by
Guenni007.
why are you using the stretched layout?
If you want something behind your Content to see – you have to have something semitransparent on your site!this here is a handmade yaml4 site which is made by a trainee of mine. you want that this effect is on your page ?
btw. on wordpress everytime you press in a text-editor a return an auto p was set. (wpautop)
you only have the choice to avoid that by pressing the shift key.look here – before the justify rule can have any effect on this text a p tag closes the one-sentense thing.
those sentences which are long enough ends on the right side.
these textblocks in one
<p>…</p>
tag are too short-
This reply was modified 9 years, 4 months ago by
Guenni007.
-
This reply was modified 9 years, 4 months ago by
-
AuthorPosts