Forum Replies Created

Viewing 30 posts - 8,431 through 8,460 (of 10,921 total)
  • Author
    Posts
  • in reply to: Styling only first item in blog #872760

    try this selector:

    
    .av-masonry-container a:nth-of-type(1) .av-inner-masonry {
        border: 10px solid #900;
    }

    styling the a itself is ugly :lol

    in reply to: Hook insert content after title & breadcrumb #872746
    function insert_container_overmain(){
    ?>
    <script>
    jQuery(function() {
       jQuery("#main .content.av-content-small:first-child").prepend("<div class='overmain'>  </div>");
       jQuery(".avia-section .overmain").removeClass("overmain");
       jQuery(".overmain").css("height", "120px");
    });
    </script>
    <?php
    }
    add_action('wp_head', 'insert_container_overmain');

    not knowing how to get in there the widget.

    in reply to: Hook insert content after title & breadcrumb #872735
    function insert_container_overmain(){
    ?>
    <script>
    jQuery(function() {
       jQuery('#main .av-content-small:first-child').prepend('<div id="overmain">  </div>');
       jQuery('#overmain').css('height', ' 120px');
    });
    </script>
    <?php
    }
    add_action('wp_head', 'insert_container_overmain');

    this will be the right position. –
    but i do not know how to get in the prepended content the do_shortcode rule

    and this is only for pages/posts with sidebar !

    in reply to: Hook insert content after title & breadcrumb #872730

    you want it besides the sidebar but over the first content ?

    you can now remove it – i know what you like to have

    • This reply was modified 7 years ago by Guenni007.
    in reply to: Hook insert content after title & breadcrumb #872727

    so you see it is the right position –
    so now make an own widget ( without defining / registering ) just on widget area
    name it you like f.e: under-title

    maybe without divs

    add_action('ava_after_main_title', function() {
    if ( is_page() || is_single() || is_singular( 'portfolio' )  ) {
    	echo do_shortcode("[av_sidebar widget_area='under-title']");
    }
    });


    put in there the things you like

    in reply to: Hook insert content after title & breadcrumb #872725

    can you please insert the code to functions.php of your child-theme:

    add_action('ava_after_main_title', function() {
    if ( is_page() || is_single() || is_singular( 'portfolio' )  ) {
        echo '<div class="container">';
    	echo do_shortcode("[av_sidebar widget_area='Sidebar Blog']");
        echo '</div>';
    }
    });


    and than insert to sidebar blog everything you like to view on that area.
    just to see where it is placed

    in reply to: Hook insert content after title & breadcrumb #872717

    i must see a live link.
    and this is a bit different to the screenshot above. On the first one it is directly under the bread-crumps (title bar)
    The woocommerce should go in that field ?
    Determine if woocommerce got his own shortcode for that.

    Now you say it is for every page – than it will be better to create an own widget area with position determined.
    This do_shortcode gives you the oportunity to place it directly above all content – the first position in main.

    to decide only from a screenshot nearly impossible.

    click to enlarge – you see this was my test – just under breadcrump before the other main content.

    • This reply was modified 7 years ago by Guenni007.
    in reply to: Dim other menu items when one is hovered #872710

    you see on my test page above that it is dimmed now to 0.8 and on hovering goes to opacity 1 – but you reach the same result the other way round:

    #avia-menu li {
        opacity: 0.5 !important
    }
    #avia-menu li:hover {
        opacity: 1 !important
    }

    the not selector is more used in templates and themes as you know ( go and make a search for “:not” in enfold folder ) – but here with a highly specific state of “hover” you can do it the common way.

    in reply to: Hook insert content after title & breadcrumb #872706

    is it allways ?
    could you take the blog-widget for it – because you don’t use it elsewhere?
    Then you can take that for it

    add this to your functions.php of your child-theme:

    add_action('ava_after_main_title', function() {
    if ( is_single() || is_singular( 'portfolio' )  ) {
        echo '<div class="container">';
    	echo do_shortcode("[av_sidebar widget_area='Sidebar Blog']");
        echo '</div>';
    }
    });

    you see the if clause – you can do all the things an if-clause can do as is_page ; is_category; is_singular(‘event’) etc

    if you don’t like to use blog widget for it
    create an own widget just by adding one in widget area maybe call it after-title

    add_action('ava_after_main_title', function() {
    if ( is_single() || is_singular( 'portfolio' )  ) {
    	echo '<div class="container">';
    	    echo do_shortcode("[av_sidebar widget_area='after-title']");
    	echo '</div>';
    }
    });

    you only have to style it than via quick css
    the width is still set via the container to your enfold width

    • This reply was modified 7 years ago by Guenni007.
    in reply to: Portfolio Images not showing #872609

    no further reaction here – the site is still not changed

    in reply to: Adding another image next to logo #872608

    I guess he needed – because status quo is still a big logo – not two of them.

    in reply to: Dim other menu items when one is hovered #872603

    haha – now the not selector:
    it works but makes no sense – set the normal state and change the hovered one !

    .av-main-nav li:not(:hover) {
        opacity: 0.5 !important
    }
    .av-main-nav li:hover {
        opacity: 1 !important
    }
    

    you can see it here working with a skew https://webers-testseite.de/

    • This reply was modified 7 years ago by Guenni007.
    in reply to: Logo as svg #872601

    if you take a look to the svg with text : you can open a svg with a good text-editor
    on windows: notepad ++
    on mac : sublime text

    you will see this :

    <?xml version="1.0" encoding="utf-8"?>
    <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="0 0 415 500.4" style="enable-background:new 0 0 415 500.4;" xml:space="preserve">
    <style type="text/css">
    	.st0{fill:#A5CD39;}
    	.st1{fill:#FAA21D;}
    	.st2{fill:#4D4D4D;}
    	.st3{fill:#0AB8BB;}
    	.st4{fill:none;}
    	.st5{font-family:'Kaufmann';}
    	.st6{font-size:88px;}
    </style>
    <g>
    	<path class="st0" d="M18.8,199.4c0,74.3,43.4,138.5,106.3,168.5L30.7,133.6C23,154.1,18.8,176.2,18.8,199.4z"/>
    	<path class="st1" d="M97.4,109.4c0,0-13,1-22.8,1.6L156,321.1l42-107.9L157,111c-8.8-0.5-21.3-1.6-21.3-1.6c-8.8-0.5-7.8-14,1-13.5
    		c0,0,31.1,2.1,47.2,2.1c17.1,0,47.7-2.1,47.7-2.1c8.8-0.5,9.9,12.5,1,13.5c0,0-13,1-22.8,1.6l81.5,210.2l34.8-88.7
    		c8.3-21.3,12.5-38.9,12.5-52.9c0-20.2-7.3-34.2-13.5-45.1c-8.3-13.5-16.1-24.9-16.1-38.4c0-15,11.4-29.1,27.5-29.1
    		c0.1,0,0.1,0,0.2,0C303,33.4,256.6,12.7,205.4,12.7C139.7,12.7,82,46.7,48.7,98c17.2,0,47.6-2.1,47.6-2.1
    		C105.1,95.4,106.2,108.4,97.4,109.4z"/>
    	<path class="st2" d="M206.3,232.9l-54.5,139.6c-0.8,1.9-1.9,3.4-3.1,4.7c17.9,5.7,36.9,8.8,56.7,8.8c20.7,0,40.7-3.4,59.3-9.7
    		c-0.9-1.1-1.7-2.4-2.3-3.8L206.3,232.9z"/>
    	<path class="st3" d="M392,199.4c0-29.8-7-58-19.5-83c0.2,3.1,0.4,6.3,0.4,9.6c0,16.6-3.1,35.3-12.5,58.6l-70.5,181.1
    		C350.5,334.9,392,272,392,199.4z"/>
    </g>
    <rect x="50.2" y="400.1" class="st4" width="312.8" height="93.9"/>
    <text transform="matrix(1 0 0 1 50.1779 463.2396)" class="st5 st6">Logo Text</text>
    </svg>

    on that style element you see the colors and the font i used – if Kaufmann is not activated on the wordpress installation every browser has its own fallback for fonts

    in reply to: Logo as svg #872596

    Text is per definition a path so more like svg than to img (png or jpg)
    so i guess that you have done something wrong on creating that svg.

    just do following: drag and drop your svg into the browser itself – and have a look what the browser do.
    if you see all of your logo (including the text in it) we have to look what is the

    Try to do this : if the text changes to a different font – or is not uploadable – go to your Graphic Editor and transform the text to path !

    1) this is with text as font – because the browser has not the font it changes to whatever he likes:
    https://webers-testseite.de/wp-content/uploads/Logo_with_Text.svg

    2) this is svg with text converted to path : https://webers-testseite.de/wp-content/uploads/Logo_with_PathText.svg

    you see – that because of path the font isn’t one at all – and browser must do what you like to see

    • This reply was modified 7 years ago by Guenni007.
    in reply to: Shrinking of header – Amount – An Info #872590

    Well but all has to do with the change to a child-theme. It has nothing to do with shrink-fix code

    in reply to: Custom size logo gets cut off with shrinking header #872587

    but what did you expect if a minimum-height is set ?
    If you like to have the logo bigger – just change header size in enfold options dialog ( custom pixel values)

    i don’t see your site because i’m participant as you – but if your logo is much bigger and you would like to shrink to this min-height i would recommend you this post: https://kriesi.at/support/topic/shrinking-of-header-amount-an-info/

    f.e. starting at a height of 300px ending at a height of 210px

    did you setup the custom css class for that color-section : in my code above i took: topheading

    i suppose that a lot of participants only try the code without reading the thread completly – am i wrong ?

    in reply to: Logo as svg #872585

    1) what do you think is the advantage of an extra text under it (without implementing it on your svg)?
    – do you like to hide it after scrolling ?

    2) i would not do it via widget area – enfold got this nice snippet for functions.php of child-theme :

    add_filter('avf_logo_subtext', 'kriesi_logo_addition');
    function kriesi_logo_addition($sub)
    {
      $sub .= "<span class='logo-title'>My Text</span>";
      return $sub;
    }

    by the way the text is there – but may be not visible – it has to be styled/positioned by css.
    And because you like to have it under your logo it will be good to have a free space there

    do you have a shrinking header ? than a text under logo could be a bit sophisticated css
    ___________________

    and: on all of my installations the svg-support plugin works perfect – espacially if i want to replace the img src through the svg-code itself

    in reply to: enfold header and logo won't stay hidden #872582

    i’m participant as you – but if there is no secret about your page link ( not the admin login) you can post it here .
    if so – you don’t want to make it public ( the frontend ) you have to wait til mods are here.

    but did you try the alternative code and see what happend ?

    By the way – if you start with a demo installation sometimes there is a logo set on Enfold – Header – Transparency options.
    This logo is visible if you have set on page/post edit the transparency or transparent & glassy option. On these pages the alternative logo is visible. – And if there is still the demo logo in – it will be shown.

    in reply to: recaptcha translation #872580

    i do not see this “Thanks in advance” Do you mean the success message after sending ?
    it is an extra input field on contact form dialog – there you can enter your own phrase.

    in reply to: enfold header and logo won't stay hidden #872573

    visibility : hidden only hides the logo – but the dimensions stay with it . It is in the position and it is in height and witdth there !

    display : none is the way to get rid of it!
    but think of responsive case too:

    .responsive .logo { display: none }

    if you want to get rid of whole header i have to see life site link – because i don’t know what kind of header you are choosing on enfold options.
    Sometimes the nav is in header_main_alternate etc.

    • This reply was modified 7 years ago by Guenni007.
    in reply to: custom image for bullet points #872572

    is there a live link we can see. ?

    in reply to: Two different logos and favicons #872567

    by the way here is a nice generator for all icons – favicon, apple-touch icon, etc:

    https://web-stuebchen.de/

    in reply to: Two different logos and favicons #872563

    Edit is it the link above than it is no page-id than it is your postid-4665

    both goes to function.php of child-theme

    1) Logo:

    add_filter('avf_logo','av_change_logo_url');
    function av_change_logo_url($url)
    {
        if( is_single('4665') )
        {
            $url = "https://url_of_your_domain/wp-content/uploads/logo2.png";
        }
        return $url; 
    }

    2) Favicon:
    i don’t think that it will overwrite the favicon set on enfold dialog – so you have to put it in this way and let the field on enfold dialog empty
    if you only want to have favicon use:

    add_action('wp_head', 'ava_add_iconnns');
    function ava_add_iconnns() {
    if( is_single(4665) ) {
    ?>
    	<link rel="shortcut icon" type="image/x-icon" href="https://url_of_your_domain/wp-content/uploads/favicon1.ico">
    <?php
    }
    if( !is_single(4665) ) {
    ?>
    	<link rel="shortcut icon" type="image/x-icon" href="https://url_of_your_domain/wp-content/uploads/favicon2.ico">
    <?php
    }
    }
    • This reply was modified 7 years ago by Guenni007.
    in reply to: BUG: 2 Bugs with Burger Menu #872555

    well on 4.2 the burger-menu li’s got their own ids – (on 4.12 this was missing) so you can select them via ID.
    and on 2nd point – i tested it on my 4.2 installation – it works on all cases. ( on click and on hover – with or without cloneing)

    in reply to: Avia child setup with JS error ? #872538

    yes – i read over it too. – but i guess thats it

    in reply to: Sticky element in a PAGE #872412

    yes – nice !
    if you can use this class for the not scrolling element ( sticky_element ) now again and again till you have to correct the offset because of different header size. As a class you can use it even on the same page multiple times.

    On this page with “Assistanat – Communication …” you don’t have to put in the contact form in the same 2/3 row. You can do it as before – but you have to do it in another color-section im you want it in a 1/1 Container.

    one thing – your timeline is a bit shifted from the position – don’t know if you have done it by changing icon width
    if you like to have it again on the middle of the icons:

    .avia-icon-list .iconlist-timeline {
        left: 19px;
    }

    By – and
    De rien

    • This reply was modified 7 years ago by Guenni007.
    in reply to: Add WPML language switcher to Fullwidth Sub Menu element #872101

    if this full-width submenu is an existing one – it could be very simple.
    Goto your WPML Options : Language –
    there is a button : “add a new language switcher to menu” press that button – a popup window with settings appear. Choose the Menu name and style it !

    in reply to: How to move social icons to the right in header area? #872088

    what do you mean by right side of the page
    you mean something like this (here on the left) https://fusesocialfloating.000webhostapp.com/fuse-social-floating/

    there are alot of plugins doing this

    in reply to: playing with new demos – visual artist demo on ipad #872079

    it works as mentioned above – but first i tend to addClass and give to quick css the scroll position – but this way does not work
    i think the inline rules overwrites every other rule set

    so i decided as above to start on background scroll on alb element – set the fixed positon by quick css – and just remove that custom class set on quick css – this way works as wanted.

    Everything ok now – on ipad the background-attachment scrolls with the container.
    Before – as mentioned there was nothing but the background-color seen.

    give it to the devolpers a hint to see their demo: https://kriesi.at/themes/enfold-visual-artist/ on iphone/ipad

Viewing 30 posts - 8,431 through 8,460 (of 10,921 total)