Forum Replies Created
-
AuthorPosts
-
hey Basilis on screenshot you can see the url.
for the centered image there is the same solution: Set up the image as centered – and the heading to modern centered !
But to have the oportunity to set up the heading on the third column it will be nice to have here a custom css class.
-
This reply was modified 7 years, 12 months ago by
Guenni007.
did you style it via options dialog – or do you fill in that little field under options your custom css.?
i recognized it on an installation that f.e. the transparency background of a text did not work but if i put in the input field under those options the css code it works. ( i mean the input field of layerslider itself – it has its own custom css fieldwell there are a lot of code snippets here on board to deactivate google maps.
maybe something like this is working. (you can see that accept page 3184 the maps api isn’t loaded)this comes to child-theme functions.php:
add_filter('avf_load_google_map_api', 'disable_google_map_api', 10, 1); function disable_google_map_api($load_google_map_api) { if( !is_page(3184) ) { $load_google_map_api = false; return $load_google_map_api; } }
But ! if you have the maps in the widget area you have to see how you can manage it.
And if you use some caching tools – i don’t know how if this will work too
On a test installation of mine it seems to work Linkha – and by the way – i see the image is an alb image so you have the opportunity to choose position of the image to right. !
well first of all it will be nice if the image (png) does not have any space to the right – otherwise we have ta right positioning of -28px or something like this.
So cut your png – to have no transparency on the right.if this is not possible try to get this to quick css:
.home .avia-builder-el-10 .avia_image { position: relative; right: -40px !important; }
but it will be nice to have here for the last column a custom class because this does not look good if the h1 under it is stayes there.
And it is much easier to create a specific css code for both img and heading tag.btw. it is not good to have more than one h1 per page !
-
This reply was modified 7 years, 12 months ago by
Guenni007.
and you recognized it because you are using Wordfence :lol ?
see here: https://kriesi.at/support/topic/wordfence-critical-issue-with-enfold-theme-file/#post-746534
so update to 3.8.5 or if you are a paranoid person just put in your domain (because it is commented out – there was no result of what is in there)
-
This reply was modified 7 years, 12 months ago by
Guenni007.
February 20, 2017 at 9:53 pm in reply to: header widget to be below logo & menu on mobile view #749607on header you have i think three different possibilities to insert code to:
/********* the one you choose **********/
add_action( ‘ava_after_main_menu’, ‘enfold_customization_header_widget_area’ );
function enfold_customization_header_widget_area() {
dynamic_sidebar( ‘header’ );
}/*********header widget area before**********/
add_action( 'ava_main_header', 'enfold_customization_header_widget_area' ); function enfold_customization_header_widget_area() { dynamic_sidebar( 'header' ); }
/*********header widget area just right after main container starts **********/
add_action( 'ava_after_main_container', 'enfold_customization_header_widget_area' ); function enfold_customization_header_widget_area() { dynamic_sidebar( 'header' ); }
maybe it is better to choose one of the two other options
i often use the source sans pro – but only latin not latin extended – maybe this is causing the mismatch?
and by the way you don’t need to mention the latin case because it is in the latin-extended version.
so :add_filter( 'avf_google_heading_font', 'avia_add_heading_font'); function avia_add_heading_font($fonts) { $fonts['Source Sans Pro Extra Bold'] = 'Source Sans Pro:900&subset=latin,latin-ext'; $fonts['Source Sans Pro Bold'] = 'Source Sans Pro:700&subset=latin-ext'; return $fonts; } add_filter( 'avf_google_content_font', 'avia_add_content_font'); function avia_add_content_font($fonts) { $fonts['Source Sans Pro Light'] = 'Source Sans Pro:300&subset=latin-ext'; return $fonts; }
This here is the place to get help!
and btw. what is this ? Facebook for
this is because it is in media querie rule:
the ending curly bracket is now missing there – where do you want to end this rule. You have to put in a }
Edit : i put in the bracket – now you can erase me as user
that is the reason why i do not have those media queries in the middle of the css. i put it alway on the bottom to it:
@media only screen and (max-width: 810px) { this last closing bracket was not there }
Great – thanks
ok – have a look and see if i understood your request in the right way.
btw: i added some code to your functions.php of your child theme –
this is why your quick css input window is now at 100% width and responsiveBy the way – please do update to WP 4.72 soon -because there are a lot of sites hacked (hacked by sa3d hack3d) including two of my sites.
it is a security problem of WP 4.71 only and goes to posts (not pages nor portfolio posts) see google-
This reply was modified 8 years ago by
Guenni007.
you can do that or you can wait till mods are here in this thread.
is my english too bad or do you like to misunderstand me –
this is the code you should add: https://kriesi.at/support/topic/center-menu-responsive/#post-743775and this is the code you have to remove – https://kriesi.at/support/topic/center-menu-responsive/#post-745323
because it is not the code you need. If you have removed it i will see what code will do the jobEither it is not so important or you changed it and you forgot to response or it is to complicated . So if we had input we can clarify those settings
you lost something (the max-width of body):
#top.boxed, .html_boxed.html_header_sticky #header { max-width: 85%; width: 1010px; }
the rules above are conflicting and confusing that rule
well ok. –
i can see underneath my code above that there are additions in the quick css media querrie und 810px – namely:.container { width: 100%; } .container .av-content-small.units { width: 80%; } .responsive #top.boxed, .responsive.html_boxed.html_header_sticky #header, .responsive.html_boxed.html_header_transparency #header { max-width: 90%; width: 80%; } .responsive .container { max-width: 80%; } #top #header .av-main-nav > li > a { font-size: 15px; }
can you please remove that first – because the code which is necessary is “fighting” against that.
February 9, 2017 at 10:01 pm in reply to: I set up table as 2 columns but on the website it shows as 3 columns. #745100≥ ≤ < > html-entities
or
≥ and ≤ unicode dezimal works
-
This reply was modified 8 years ago by
Guenni007.
ok seems to be not so important, but you changed yourself the code
so now i’m out from this topic. Your welcomei see that this code was inserted after my last information:
it is in media-querie und 810px – can you please remove it shortly
i thought you like to have for body (#top.boxed) max-width: 1010px and width: 85%.container { width: 100%; } .container .av-content-small.units { width: 80%; } .responsive #top.boxed, .responsive.html_boxed.html_header_sticky #header, .responsive.html_boxed.html_header_transparency #header { max-width: 90%; width: 80%; } .responsive .container { max-width: 80%; } #top #header .av-main-nav > li > a { font-size: 15px; }
after that we will see what happens
First impression:
You see the image and that the slider is under the Navigation. This is a wanted effect?
if not now the value is :
.html_header_top.html_header_sticky.html_large.html_bottom_nav_header #main { padding-top: 165px !important; }
if you see my little video there was allways a padding left/right so there has to be some changings in the meanwhile from your site which causes this behavior.
I will see what it is.#top .main_menu #menu-item-1107.av-menu-button a .avia-menu-text { border: 2px solid #fff !important; } #top .main_menu #menu-item-1107.av-menu-button a:hover .avia-menu-text { border: 2px solid #f00 !important; }
be aware that on
#menu-item-1107.av-menu-button
is no spacebar between 7.ahatte ich auch nicht so empfunden.
PS ich hatte mal bei einer installation zunächst die Variante boxed gewählt beim Layout. Da kann man dann für Body ein Hintergrundbild wählen.
nach dem umstellen auf stretched – was mir dann besser gefiel, hatte ich diese Einstellung dann (die ist dann nicht mehr erreichbar vergessen.
Genau da drin war das http Bildchen hartnäckig platziert. Da habe ich mir den wolf gesucht.Bis demnächst mal wieder
ah sorry i didn’t mention it above – these codes are for child-theme functions.php !
if you shrink his site to responsive case you see the fact he liked to change.
Look here to my solution2 for his site:
https://webers-testseite.de/ikom/wp-content/uploads/screenfilm.mp4
btw:
Note: There is no function to check if a page is a sub-page in wordpress codex – but
we can get around the problem if we make a new function :function is_tree($pid) { global $post; if(is_page()&&($post->post_parent==$pid||is_page($pid))) return true; else return false; };
than you can use it like:
than we can use conditional tag if it is page id 2 or is subpage of page id 2
if (is_tree(2)) { do something }
PS : only works with one level it does not check if a page is sub sub page !!!
this might help:
(Example page-id is 2854)add_filter('avf_logo','av_change_logo'); function av_change_logo($logo) { if( is_page(2854) ) { $logo = "/wp-content/uploads/logo1.png"; } return $logo; } add_filter('avf_logo_link','av_change_logo_url'); function av_change_logo_url($url) { if( is_page(2854) ) { return "link url here"; } }
is there a possibility to combine these rules ? Rikard
btw. you can insert here every conditional tag you know even arrays:
f.e.add_filter('avf_logo','av_change_logo'); function av_change_logo($logo) { if( is_page( array( 42, 54, 6 ) ) ){ $logo = "/wp-content/uploads/logo1.png"; } return $logo; } add_filter('avf_logo_link','av_change_logo_url'); function av_change_logo_url($url) { if( is_page( array( 42, 54, 6 ) ) ){ return "link url here"; } }
if ( is_singular( 'event' ) || is_search() || is_category() || is_page() && !is_page(1307) || is_singular( 'portfolio' ) )
etc pp works alli think this is no slider at all.
You can achive this in an elegant method by creating nice landingpages by scrollmagic or greensock animation.
Look f.e. here: http://www.electricenjin.com/#intro
or very nice too: http://lempens-design.com/here are some example-demo-pages :
https://greensock.com/examples-showcases
you see in the first example above – that it is a similar (more elegant way) of your link.
I can imagine this as start page for an enfold setup.February 7, 2017 at 11:38 am in reply to: I set up table as 2 columns but on the website it shows as 3 columns. #743818try it with html entities you mean that little character with degrees of Celsius Grade
°
f.e. C°
Don’t forget the semicolon
by the way – here is a Link to a listand here is the alternative without floating some menu links under the others:
Less place for the logo for more place for navigationTry this first – seems to be the better alternative
.av-main-nav li:nth-child(3) { margin-right: 150px; } .responsive .main_menu ul:first-child > li > a { padding: 0 8px; } #header_main_alternate { border: medium none !important; } #header .container { max-width: 100%; padding: 0px; } .html_header_top.html_logo_center .logo { filter: drop-shadow(2px 2px 3px #888888); left: 50%; transform: translate(-50%, 20px); } .html_header_top.html_header_sticky.html_large.html_bottom_nav_header #main { padding-top: 120px !important; } .cart_dropdown { opacity: 0; right: 0; top: 0; transition: none !important; } @media only screen and (min-width: 980px) { .responsive .main_menu ul:first-child > li > a { padding: 0 20px; } } @media only screen and (max-width: 810px) { .container #advanced_menu_toggle, #advanced_menu_hide { display: block; } .main_menu .avia-menu, #header_main_alternate, .fallback_menu { display: none; } .responsive #top #wrap_all .container { float: none; margin: 0 auto; max-width: 85%; padding-left: 0; padding-right: 0; width: 85%; } .responsive.html_header_top.html_logo_center .logo { left: 0; margin: 0; transform: translate(0%, 0px); } .responsive #top .cart_dropdown { margin: -23px 50px 0 0; position: absolute; right: 7.5%; top: 50%; opacity: 1 }
-
This reply was modified 8 years ago by
Guenni007.
-
This reply was modified 7 years, 12 months ago by
-
AuthorPosts