Forum Replies Created

Viewing 30 posts - 8,881 through 8,910 (of 12,000 total)
  • Author
    Posts
  • in reply to: bulleted list dots quick css #937500

    if you like to have it for the whole page (team) and you have no other ul on it which should not be influenced by that code you can do it without custom class:

    .page-id-29 .avia_textblock ul {
        list-style: none outside;
    }
    
    .page-id-29 .avia_textblock ul {
        line-height: 1.2em;
    }
    
    .page-id-29 .avia_textblock ul li::before {
        content: "\2022";
        padding-right: 5px;
        font-size: 18px !important;
    }
    
    .page-id-29 .entry-content-wrapper .avia_textblock li {
        margin-left: -8px;
        display: flex
    }
    in reply to: bulleted list dots quick css #937482

    so for Johann Müller you gave the class smalldot to ul try this
    (but this you have to do now manually – if you gave the class to text-block alb element you can do that via Input field – described above

    you can see here that i can simulate the results by clicking the screen-film: https://webers-testseite.de/listpoints/
    (the code comes to quick css – but for the simulation i alway use in developer tools a nearly empty css file)

     ul.normaldot {
        list-style: none outside;
    }
    
    .avia_textblock ul.normaldot {
        line-height: 1.2em;
    }
    
    ul.normaldot li::before {
        content: "\2022";
        padding-right: 5px;
        color: red;
        font-size: 18px !important;
    }
    
    .entry-content-wrapper .normaldot li {
        margin-left: 0;
      display: flex
    }

    the “list-point” size goes than via font-size – the different color you can delete

    in reply to: bulleted list dots quick css #937409

    give a custom class to your text-block where you have placed the list
    f.e.: smaller-dots

    i do not see any custom css at all for the avia text block elements ? !

    f.e. Josias van der Westhuize you have set the class for the ul – ok that will work too – but than you have to do the transform yourself –
    on my code the avia-text block class is before ul
    now you have ul.bothdot etc pp.
    read carefully – thats all – I apologize because I formulate a little harshly now but I try to describe it as accurately as possible, but it will not be read exactly.

    click to enlarge and see the difference:

    in reply to: shrinking header cuts off logo #937384

    why don’t you set up your background to size : contain:

    .header-scrolled .logo a {
    background: url(//www.vifsg.de/wp-content/uploads/2017/08/vifsg_header-logo-e1502043394906.png) no-repeat top left;
    background-size: contain;
    }

    you see here the svg with text :
    it is placed as an image-alb not as background-image
    because i added svg support to every avia_image the svg is inserted: https://webers-testseite.de/popup-contact-formelement/

    and for example the “orange path” is a link to my homepage

    this will work nice – Hover the path of the svg – but as background-image it is not inserted as svg itself i guess.

    i use svg-support too. It is nice to see preview images on media-library.
    on most cases i do insert on svg-support settings css-class to target. and insert on enfold: avia_image
    because every img file inserted via image alb element gets this class on enfold. So if there is a svg file – it will be replaced by the file_get_contents so the svg itself.
    i never tested your embeded links – where do you set these ?
    can you post here a code how it would look in the svg file?
    you can give the img itself a link – but this you know.

    PS : the lightbox does not work with svg’s and image alb element

    in reply to: Enfold Showcase #937135

    @Studio13SprayTan : https://coyotewebsitedesign.com/
    great page – but on mobile there has to be some adaptations

    see here f.e. :

    in reply to: Checkbox for Privacy Policy? #937118

    By the way – it must be a Required field and not preselected – so sender has to put it in an active way.

    in reply to: bulleted list dots quick css #937106

    maybe you add :

    .entry-content-wrapper .smaller-dots li {
        margin-left: 0;
    }

    for less distance to the non list text

    in reply to: bulleted list dots quick css #937100

    this is not possible in this way – but you can erase the list-style on that case and insert with pseudo class dots.
    Great advantage of that method : you can have a different color and size than the font settings:

    give a custom class to your text-block where you have placed the list
    f.e.: smaller-dots
    see here: https://webers-testseite.de/listpoints/

    .smaller-dots ul {
        list-style: none outside;
    }
    
    .avia_textblock.smaller-dots ul {
        line-height: 1.4em;
    }
    
    .smaller-dots ul li::before {
        content: "\2022";
        padding-right: 10px;
        color: red;
    }

    by the way: if you like to have different “signs” in front of your list : http://unicode.e-workers.de/entities.php

    the hexadezimal code is good for that
    for bullet the code is : &#x2022 with ; content than is content: "\2022";
    for » choose : content:"\00BB" etc

    in reply to: Checkbox for Privacy Policy? #937095

    this is not true. The enfold contact form offers checkboxes if you like.
    Look : https://webers-testseite.de/kontakt/

    you can do it via :

    with iframe it was possible to do that – but the iframe function is buggy on enfold since a long time.
    i mentioned it here: https://kriesi.at/support/topic/new-enfold-troubles-with-iframe/
    I also noticed that when I wanted to embed a video with very specific characteristics: https://kriesi.at/support/topic/new-enfold-troubles-with-iframe/#post-906379

    in reply to: Can't replace demo logo #936497

    and you can see in your screenshot that this what you see is the logo alternate – this is the logo used if header layout is set to transparency (including glassy) and you will find that on Enfold options dialog / header / transparency options

    in reply to: Disable flags from footer – wpml #936488

    you mean your footer and not the socket ? !!

    #footer .menu-item.wpml-ls-item {
        display: none;
    }

    and the following seems not to be part of the last widget-area – how did you place that ?
    isn’t there a wpml-widget ?
    if not there is a shortcode for the switcher , f.e.:
    [wpml_language_switcher type="footer" flags=1 native=1 translated=1][/wpml_language_switcher]

    in reply to: Adding custom social icons #934964

    documentation is here: https://kriesi.at/documentation/enfold/custom-social-icons/

    if you do not have a font icon of your “social-icon” you can use png files for that.

    1 look for a png file you like to have
    f.e.:

    2 : upload it to your media library and copy the link – you will need it:

    3 : now go to your functions.php of your child-theme and enter:
    that little goodreads will be the addendum to the class set by enfold

    function avia_add_custom_social_icon($icons) {
        $icons['Goodreads'] = 'goodreads';
        return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);

    with that you can now choose the new social icon on Enfold Options – Social Profiles ( it is at the end of the list)

    4 : This comes to quick css ( you see here is the automatically created class av-social-link-goodreads )

    #top #wrap_all .av-social-link-goodreads a:before{
        content: "";
        width: 20px;
        height: 20px;
        display: inline-block;
        vertical-align: middle;
        background: url(https://link-to-your-image/goodreads.png) no-repeat center center;
        background-size: contain;
    }

    5 : styling the hover effect – this to quick css ( color makes no sense here because we have no font )

    #top #wrap_all .av-social-link-goodreads:hover a{
        color:#fff; 
        background-color:#9fae37; 
    }

    6 : for another “social-icon” you only have to replace goodreads

    in reply to: Social Icons inside icon box #934950

    can you show us a live link on that?

    in reply to: Two different blog stylings for single blog posts? #934715

    yes but it seems that there is something missing !
    i started with Enfold Options Elegant – then it is possible to have modern because it only goes an additional class to html (html_modern-blog)
    but from that point it does not remove the globaly set elegant if i choose business .
    – i will try a different solution now – but had to remove those settings for now

    sorry – it seems not to work propper

    the thing is that on html there are the classes added – (html_blog-elegant, html_blog-modern) if they were present the blog will look this way we know. But adding it via addClass has a timeshift – thats ugly – so best would be to have a filter there similar to header-styling.

    in reply to: Media queries in style.css not working in mobile view #934411

    the important notice on filter: progid: does not feel good for me – looks strange
    can you proove it if code works if you let that rule to be set to not important

    in reply to: Two different blog stylings for single blog posts? #934362

    and again you can have here too f.e. the choice of header style for each page ;)

    add_filter('avf_builder_boxes', 'register_meta_boxes', 10, 1);
    function register_meta_boxes($boxes){
    $boxes[] = array( 'title' =>__('Layout','avia_framework' ), 'id'=>'layout', 'page'=>array('page' , 'post' , 'portfolio' ), 'context'=>'side', 'priority'=>'low');
    return $boxes;
    }
    
    add_filter('avf_builder_elements', 'register_meta_elements', 10, 1);
    function register_meta_elements($avf_builder_elements){
    $avf_builder_elements[] = array(
    						"slug"	=> "layout",
    						"name" 	=> __("Menu and Logo Position", 'avia_framework'),
    						"desc" 	=> __("You can choose various different logo and main menu positions here", 'avia_framework'),
    						"id" 	=> "header_layout",
    						"type" 	=> "select",
    						"std" 	=> "",
    						"subtype" => array( __('Logo left, Menu right', 'avia_framework')  	=>'logo_left main_nav_header menu_right',
    											__('Logo right, Menu Left', 'avia_framework')	 	=>'logo_right main_nav_header menu_left',
    											__('Logo left, Menu below', 'avia_framework') 	=>'logo_left bottom_nav_header menu_left',
    											__('Logo right, Menu below', 'avia_framework') 	=>'logo_right bottom_nav_header menu_center',
    											__('Logo center, Menu below', 'avia_framework') 	=>'logo_center bottom_nav_header menu_right',
    										));
    $avf_builder_elements[] = array(
    				          "slug"  => "layout",
    				          "name"  => __("Blog Styling", 'avia_framework' ),
    				          "desc"  => __("Choose the blog styling here.", 'avia_framework' ),
    				          "id"  => "blog_global_style",
    				          "type"  => "select",
    				          "std"   => "",
    				          "no_first"=>true,
    				          "subtype" => array( 
    				                  __( 'Default (Business)', 'avia_framework' ) =>'',
    				                  __( 'Elegant', 'avia_framework' ) =>'elegant-blog',
    				                  __( 'Modern Business', 'avia_framework' ) =>'elegant-blog modern-blog',
    				                    ));
    
    return $avf_builder_elements;
    }
    in reply to: Two different blog stylings for single blog posts? #934356

    by the way dear mods : it makes no sence of heaving that on portfolio or posts but changing above code to that line has no effect – it shows the metabox too
    $boxes[] = array( 'title' =>__('Layout','avia_framework' ), 'id'=>'layout', 'page'=>array('page'), 'context'=>'side',

    Why?

    in reply to: Two different blog stylings for single blog posts? #934343

    hm – if you style your blogs via the blog alb – means if you setup a page f.e. and show your blog with blog ALB – we can create a meta-box on the right side of your editor page:

    put this into functions.php of your child-theme:

    add_filter('avf_builder_boxes', 'register_global_blog_style', 10, 1);
    function register_global_blog_style($boxes){
        $boxes[] = array( 'title' =>__('Layout','avia_framework' ), 'id'=>'layout', 'page'=>array('page' , 'post' , 'portfolio' ), 'context'=>'side', 'priority'=>'low');
    return $boxes;
    }
    
    add_filter('avf_builder_elements', 'register_meta_blogstyle', 10, 1);
    function register_meta_blogstyle($avf_builder_elements){
      $avf_builder_elements[] = array(
              "slug"  => "layout",
              "name"  => __("Blog Styling", 'avia_framework' ),
              "desc"  => __("Choose the blog styling here.", 'avia_framework' ),
              "id"  => "blog_global_style",
              "type"  => "select",
              "std"   => "",
              "no_first"=>true,
              "subtype" => array( 
                      __( 'Default (Business)', 'avia_framework' ) =>'',
                      __( 'Elegant', 'avia_framework' ) =>'elegant-blog',
                      __( 'Modern Business', 'avia_framework' ) =>'elegant-blog modern-blog',
                        ));
    
    return $avf_builder_elements;
    }

    you will have than on the right in Layout Options the choice of setting blog_style for each page
    see here : https://webers-testseite.de/blog-seite-elegant/
    and: vice versa: https://webers-testseite.de/blog-seite-modern/

    in reply to: Two different blog stylings for single blog posts? #934245

    you mean if you have category a it will be default – and if it is category b it is elegant ?

    in reply to: Separation/whitespace between sections #934220

    Edit: hm now we have to support other themes – seems to me to be a proof of quality for Enfold.


    if it wasn’t avada it will go this way:

    the thing is that content gets a padding-top / padding-bottom of 50px !

    so if you insert your hr element give it a custom class f.e. nopadding

    and do this to functions.php of your child-theme:

    function padding_to_parent_of_hr_nopadding(){
    ?>
    <script>
    (function($){
    	$('div.hr.nopadding').closest('.content').css({"padding": "10px 0", "min-height": "0px"  });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'padding_to_parent_of_hr_nopadding');

    what does the code do – it looks for a hr with the class nopadding – if it finds some – it will search for the nearest parent element with class content and defines the padding for it.
    this is something which could not be done by css – because we have to select the parent of a dif with class.

    because now you want to show the video on the bottom on ipad ?

    on desktop i can go to developer tools and see all classes set.
    But on ipad i did not have that ( simulators on web did not show this either)
    so i had to search in enfold folder to recognize that on html the class is set – good to know for me too.

    :lol Enfold is great : on avia-compat.js there are some checks concerning to devices. (test(navigator.userAgent))

    as i did above with that code

    var avia_is_mobile = false;
    if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) && 'ontouchstart' in document.documentElement)
    {
    	avia_is_mobile = true;
    	document.documentElement.className += ' avia_mobile ';
    }

    so if it is a mobile the html document get the class avia_mobile

    so we could use that allready for changings:
    delete the function in your functions.php and try – this must be the same effect because avia-compat.js allready checked it an set that class to html:

    .avia_mobile  #top.page-id-40 #full_slider_1,
    .avia_mobile  #top.page-id-40 #av_section_1 .av_textblock_section.av-desktop-hide,
    .avia_mobile  #top.page-id-40 #av_section_1 .avia-video.av-desktop-hide {
      display: none !important
    }
    
    .avia_mobile  #top.page-id-40 #full_slider_2 {
      display: block !important
    }

    you didn’t mention that above.

    try this please instead:

    add_action('wp_footer', 'settings_for_ipad');
    function settings_for_ipad(){
    ?>
    <script type="text/javascript">
    (function($) {
    	$(document).ready(function($){
    		var deviceAgent = navigator.userAgent.toLowerCase();
    		if (deviceAgent.match(/(iphone|ipod|ipad)/)) {
    		  $('#top.page-id-40 #full_slider_1').css( 'display' , 'none' );
    		  $('#top.page-id-40 #full_slider_2').css( 'display' , 'block' );
    		  $('#top.page-id-40 #av_section_1 .av_textblock_section.av-desktop-hide').css( 'display' , 'none' );
    		  $('#top.page-id-40 #av_section_1 .avia-video.av-desktop-hide').css( 'display' , 'none' );
    		}
    	});
    })(jQuery);
    </script>
    <?php
    }

    please go to ipad settings / safari and empty the browser cache .

    this is what i see on your page (click to enlarge):

    on my ipad you page id 40 ( in de parktijk ) shows now correct.
    what do you mean by that : I want te show the video and the title above on iPad
    can you make a visualisation on how it should look like

    Excuse my initial confusion, but you always have to see how it’s originally set in Enfold to overwrite it.
    a separate own test page helps always better than anything else

    i see on your page that it works now ( on my ipad it does show now the slideshow (not the film) even on landscape version)

    the #top has to be in it: to be more selective

    add_action('wp_footer', 'settings_for_ipad');
    function settings_for_ipad(){
    ?>
    <script type="text/javascript">
    (function($) {
    	$(document).ready(function($){
    		var deviceAgent = navigator.userAgent.toLowerCase();
    		if (deviceAgent.match(/(iphone|ipod|ipad)/)) {
    		  $('#top.page-id-40 #full_slider_1').css( 'display' , 'none' );
    		  $('#top.page-id-40 #full_slider_2').css( 'display' , 'block' );
    		}
    	});
    })(jQuery);
    </script>
    <?php
    }

    see my testpage https://webers-testseite.de/videos/

Viewing 30 posts - 8,881 through 8,910 (of 12,000 total)