Forum Replies Created
-
AuthorPosts
-
ok i stop trying to help you – because it seems that you only accept help from mods – bye
what does your Safari (version 11.0.2) on a Macbook Pro with OS Sierra version 10.12.6 show on my test page ?
Same bug?hm – i can not reproduce that behavior : Link
the 1/2 columns on top are in a color-section – the columns on bottom aren’t (without surrounding container)
i use high sierra and my safari is : Version 11.0.2 (13604.4.7.1.6)i can not believe that it is only a matter of OSX Version
Maybe you can insert an invisibel content (text block with
f.e.)here is an online generator to make the css rules : Link
i don’t know what you mean by row – one easy way is to give it a custom class.
As a background-image definition it lays over the background-colorif you got the code f.e.:
.custom-class { background-image: -ms-linear-gradient(top, rgb(30,87,153) 0%, rgb(125,185,232) 100%); background-image: -moz-linear-gradient(top, rgb(30,87,153) 0%, rgb(125,185,232) 100%); background-image: -o-linear-gradient(top, rgb(30,87,153) 0%, rgb(125,185,232) 100%); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgb(30,87,153)), color-stop(100, rgb(125,185,232))); background-image: -webkit-linear-gradient(top, rgb(30,87,153) 0%, rgb(125,185,232) 100%); background-image: linear-gradient(to bottom, rgb(30,87,153) 0%, rgb(125,185,232) 100%); }January 24, 2018 at 11:38 am in reply to: I hit the button "restart all options" , how can I revert changes?? #902065if you are working on a child-theme i do often insert for my customers in function.php:
function admin_head_mod() { echo '<style type="text/css"> .avia_reset {pointer-events: none !important } </style>'; } add_action('admin_head', 'admin_head_mod');it blocks that click option
thanks ismael – i do not really know how this could solve my request.
For each User (Author, Editor) i have a custom made Portfolio with styled Content.so i guess the htaccess method with 301 redirect will be much easier.
Edit: Can be closed
-
This reply was modified 7 years, 11 months ago by
Guenni007.
or you define a custom hr – there you can choose the width of the hr
choose thin and your desired width of the hr.
Choose no icon for it.
And give a custom class to the hr: “customised-hr”do this to quick css:
.customised-hr .hr-inner.inner-border-av-border-thin::before { content: "○"; font-size: 24px; position: relative; left: 0; top: -15px; color: #e1e1e1;; background-color: #fff; } .customised-hr .hr-inner.inner-border-av-border-thin { border-top-width: 2px; }The color of the before content must concern to your hr color you set
see here: https://webers-testseite.de/3images-one-link/
big advantage : make one template of the custom hr and if you need it insert it and only fit the width for it
January 23, 2018 at 6:53 pm in reply to: Lessen the shrink size of the header when scrolling #901608is the 65 px the starting header height? because i have made some shrinks from 150 to 1px – and this works too!
it is not so complex to create these files – and with shortcode of columns.php it is easy to have this in a child-theme.
But i realy do not know how to get a “child-theme” avia-builder.js – so that these changings are not lost on update of enfold parent theme.For your study: webers-testseite.de/6thColumns.zip
Because there has to be changes for admin layout there must be some entries (all included in the zip file)
it does not work to put this css to quick css!function admin_head_mod() { echo '<style type="text/css"> .avia_layout_builder .av_one_sixth{width:14%;} .avia_layout_builder .av_five_sixth {width: 80%;} </style>'; } add_action('admin_head', 'admin_head_mod');you only have to define than – the responsive design.
Essentially, 2 files are responsible for this (avia-builder.js and columns.php). And to add a little css code. Funnily, there are f.e. in grid.css up to 1/10 div instructions.
Allthough it is an existing png for sixth columns there you have to create an own sc-sixth.png


All these files are in config-templatebuilder folder.all praise goes to ismael – i only renamed some settings to better recognise the use of that function
yes i agree to rob – thanks Yigit
btw. can be closed. I will post on the other longer thread concerning to this topicthanks – i added this to my functions.php of my child-theme (with the trigger class: extralink):
function modal_video() { ?> <script type="text/javascript"> jQuery(window).load(function(){ jQuery('.extralink').magnificPopup({ type:'inline', midClick: true }); }); </script> <?php } add_action('wp_footer', 'modal_video');that works now
i placed a fixed element on an enfold page (see private content)
but allthough i did place the correkt link with ?iframe=true option – the film does not start as expected.
The link gets on default the class as usual mfp-iframe ( i guess the trigger) but no modal window opensJanuary 19, 2018 at 2:30 pm in reply to: Lessen the shrink size of the header when scrolling #899708no not the same value – it only is the same divisor if scroll-distance to reach the endpoint of header-height and amount are the same
this is only on 1/2 the case : divisor 2.
f.e. starting an 200px you come on default to 100px by scrolling 100px !if you like to start at 200px and want to reach 150px end height you have to scroll 50px
so first divisor is 4 ( 200px / (200px – 150px) )
second divisor is 1.33 (because of 200px/150px )thats the reason why i explained it in the thread on detail :
first divisor: h start / (h start – h end)
second divisor h start / h end
but on updating you will loose these settings if you change it on parent-theme avia.jsmaybe this way:
function after_head_image_func(){ echo "<div class='custom_content'><a href='tel:+12345'><img src='//homeurl//wp-content/uploads/2018/01/telephone.png'></a></div>"; echo "<div class='custom_content2'><a href='mailto: (Email address hidden if logged out) '><img src='//homeurl//wp-content/uploads/2018/01/email.png'></a></div>"; echo "<div class='custom_content3'><a href='url' target='_blank'><img src='//homeurl//wp-content/uploads/2018/01/zl-group.png'></a></div>"; } add_action('ava_after_main_menu', 'after_head_image_func');remove the blank target if you like
January 19, 2018 at 2:07 pm in reply to: Different logo on different-pages when using transparent header #899699but it was an interesting question anyway .
it must be possible to set up a pair of logos for a specific page.
One for non transparent mode and one for transparency case.?
maybe via$addition?-
This reply was modified 7 years, 11 months ago by
Guenni007.
i will go back for some customers to 4.12 allthough the burger-menu is not perfect there.
January 18, 2018 at 11:47 pm in reply to: Different logo on different-pages when using transparent header #899350well – he is talking about the alternate logo on subtext ( logo for transparent mode)
header_replacement_logohe wants a different alternate logo on some pages
https://kriesi.at/support/topic/enfold-4-2-1-and-videobackground-no-improvement/
i posted it allready a few minutes earlier. – if you like you can close mine and we continue here.
The point why it is so important that self-hosting works too – is that i don’t like surprisings for my customers. If video is gone on youtube or a different video is shown instead etc. pp .
And i don’t like the slow start with a black background beginning.-
This reply was modified 7 years, 11 months ago by
Guenni007.
but it seems only to be a problem on self-hosted videos – a youtube video works
but only if you use the normal code. If you take an embed code it does not load the video toocan you post that with code function here – if you use that little “code” tag above the code is visible at all without beeing changed by board soft.
Or do you like to have the link on the whole inner content?you can use than:
<div class="custom_content"><a href='#' target='_blank'>Custom Content</a></div>so how to use: click code on top of the editor window – insert your code and press after that the closing code tag
or insert your code – activate the whole code with your mouse as if you like to copy it – press once the code button.you mean the prev / next navigation on the side when a post/portfolio single is opend?
this rule is for shifting these “navigation-buttons”:
#top .avia-post-nav, #top .avia-post-prev { top: 55%; }you can even do this:
#top .avia-post-nav, #top .avia-post-prev { bottom: 50px !important; top: inherit; }can not confirm this – on my installation – even if on top in the url window a different tab is opend-
i can open the another tab even over menu link.By the way this to functions.php of your child-theme – to have customised tab hashes:
add_theme_support('avia_template_builder_custom_tab_toogle_id');go to Dashboard – media and click on one image
on the right side there are a lot of input-fields you can customise – and alt attr. too.
you can do it one after the other there on clicking the arrows right top to go to the next image.or if you have put in your gallery images you can click on each . under the image there is a description
right side there is alt text for eachcan you post the code you inserted in functions.php ?
if you want to obfuscate your url set in f.e. //homeurl/… or something like thator if you like to generate a social-bookmarks shortcode add this to functions.php of your child-theme:
function social_bookmarks_shortcode() { $social_args = array('outside'=>'ul', 'inside'=>'li', 'append' => ''); echo avia_social_media_icons($social_args, false); } add_shortcode('social-bookmarks', 'social_bookmarks_shortcode');you can insert the social bookmarks than with the shortcode:
[social-bookmarks]after that you have to style them via quick css
yes this will work – if you like to have a real widget you can do this to
functions.php of your child-theme:function social_bookmarks_register_widget() { register_widget( 'add_social_bookmarks' ); } add_action( 'widgets_init', 'social_bookmarks_register_widget' ); class add_social_bookmarks extends WP_Widget { public function __construct() { $widget_ops = array( 'classname' => 'socialbookmarks-widget', 'description' => __('A widget that displays the social bookmarks', 'avia_framework') ); parent::__construct( 'add_social_bookmarks', THEMENAME.' Social Bookmarks', $widget_ops ); } public function widget( $args, $instance ) { $title = apply_filters( 'widget_title', $instance['title'] ); echo $args['before_widget']; //if title is present if ( ! empty( $title ) ) echo $args['before_title'] . $title . $args['after_title']; //output echo $before_widget; $social_args = array('outside'=>'ul', 'inside'=>'li', 'append' => ''); echo avia_social_media_icons($social_args, false); echo $after_widget; } public function form( $instance ) { if ( isset( $instance[ 'title' ] ) ) $title = $instance[ 'title' ]; else $title = __( 'Social Bookmarks', 'avia_framework' ); ?> <p> <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:' ); ?></label> <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" /> </p> <?php } public function update( $new_instance, $old_instance ) { $instance = array(); $instance['title'] = ( ! empty( $new_instance['title'] ) ) ? strip_tags( $new_instance['title'] ) : ''; return $instance; } }and this to quick css:
#top .socialbookmarks-widget .social_bookmarks { float: left; margin: 15px 0 0 ; position: relative; } #top .socialbookmarks-widget .social_bookmarks li { float: left; clear: right !important; }you will have than a social bookmark widget.
it shows all of your scocial bookmarks from the options dialog of enfold. – You have the choice to give it a heading like on every other widget .see here in footer : Link
January 17, 2018 at 3:26 pm in reply to: Lessen the shrink size of the header when scrolling #898495but the one : https://kriesi.at/support/topic/shrinking-of-header-amount-an-info/ you did not find :wink
the shrink function is a part of avia.js – so if you like to have the same behavior there will be no other way to influence the js – because the function is bound to scroll event.
-
This reply was modified 7 years, 11 months ago by
Guenni007.
Great – i this case i do not have to downgrade for that customer the whole installation ( its a multisite) – but the video-element is important for them – more like a good styled menu (with images etc.)
to get rid of them in the mobile menu it is important for me to have the possiblity to adress each menu-item easier than by nth-child options.
Can be closed now. -
This reply was modified 7 years, 11 months ago by
-
AuthorPosts


