Forum Replies Created

Viewing 30 posts - 5,131 through 5,160 (of 11,984 total)
  • Author
    Posts
  • in reply to: How to remove H3 in Slider accordeon #1259518

    @Nikko
    https://kriesi.at/support/topic/how-to-remove-h3-in-slider-accordeon/#post-1202501

    this was new to my – and a look to source code is right – the filter ( avf_customize_heading_settings ) is indeed part of this on line 875:

    if ( ! class_exists( 'aviaccordion' ) ) 
    

    if i use the filter i always took as victoria intends to do the context from the beginning:

    if ( ! class_exists( 'avia_sc_slider_accordion' ) )
    

    it seems to be a specific thing for accordion slider !


    @mtrebbi
    the iconbox has on top of the alb source code:

    if ( ! class_exists( 'avia_sc_icon_box' ) )
    

    so context of the filter is : avia_sc_icon_box
    only the title is set with conjuction to that filter – so this will be enough:

    function my_heading_settings_for_iconbox( array $args, $context, array $extra_args = array() ) {
      if( $context == 'avia_sc_icon_box') {
        $args['heading'] = 'h1';            
        $args['extra_class'] = 'my-iconbox';  
      } 
      return $args;
    }
    add_filter( 'avf_customize_heading_settings', 'my_heading_settings_for_iconbox', 10, 3 );

    the extra_class you can set by yourself – it is only for additonal Styling Options.

    in reply to: ?iframe=true custom dimensions (width and height) #1259137

    the max-width is set on :

    .mfp-iframe-holder .mfp-content {
        line-height: 0;
        width: 100%;
        max-width: 900px;
    }

    so set on quick css f.e.

    .mfp-iframe-holder .mfp-content {
        max-width: 80vw;
    }
    • This reply was modified 5 years, 3 months ago by Guenni007.
    in reply to: Spracheinstellung ändern #1259136

    sollte – wenn du auch die deutsche WordPress Version installiert hattest eigentlich automatisch so sein.
    Sonst geh bitte und schau unter Dashboard – Settings – General nach ob du dort umstellen kannst. : “Site Language”
    Wenn du dort nicht auf Deutsch ( Sie oder Du) umstellen kannst, musst du für WordPress die Sprachfiles nachinstallieren.

    in reply to: Element color stretch to left or right side of viewport #1258652

    and for the breakpoint for responsive case ( in my case it is 990px ):

    @media only screen and (max-width: 989px) {
      .gridcontent-special .flex_cell {
        padding-left: 50px !important;
      }
      
      .gridcontent-special .flex_cell {
        padding-right: 50px !important;
      }  
    }
    in reply to: Element color stretch to left or right side of viewport #1258650

    with custom-class on grid-row element : gridcontent-special

    @media only screen and (min-width: 1510px) {
      .gridcontent-special .flex_cell.avia-builder-el-first {
        padding-left: calc((100vw - 1510px)/2 + 50px) !important;
      }
      
      .gridcontent-special .flex_cell.avia-builder-el-first {
        padding-left: calc((100vw - 1510px)/2 + 50px) !important;
      }  
      
      .gridcontent-special .flex_cell.avia-builder-el-last {
        padding-right: calc((100vw - 1510px)/2 + 50px) !important;
      }  
    
      .gridcontent-special .flex_cell.avia-builder-el-last {
        padding-right: calc((100vw - 1510px)/2 + 50px) !important;
      }
    }
    
    @media only screen and (max-width: 1509px) {
      .gridcontent-special .flex_cell.avia-builder-el-first {
        padding-left: 50px !important;
      }
      
      .gridcontent-special .flex_cell.avia-builder-el-first {
        padding-left: 50px !important;
      }  
      
      .gridcontent-special .flex_cell.avia-builder-el-last {
        padding-right: 50px !important;
      }  
    
      .gridcontent-special .flex_cell.avia-builder-el-last {
        padding-right: 50px !important;
      }
    }
    in reply to: Element color stretch to left or right side of viewport #1258648

    see now with new css above:
    https://webers-testseite.de/grid-again/

    in reply to: Element color stretch to left or right side of viewport #1258637

    for my setting 1510px and 50px setting on Grid-Cell padding overall:
    ( Sorry this for my page id specific – remove it or replace it to your IDs – or even better give to the grid-row a custom-class )

    @media only screen and (min-width: 1510px) {
      .flex_cell.avia-builder-el-first {
        padding-left: calc((100vw - 1510px)/2 + 50px) !important;
      }
      
      .flex_cell.avia-builder-el-first {
        padding-left: calc((100vw - 1510px)/2 + 50px) !important;
      }  
      
      .flex_cell.avia-builder-el-last {
        padding-right: calc((100vw - 1510px)/2 + 50px) !important;
      }  
    
      .flex_cell.avia-builder-el-last {
        padding-right: calc((100vw - 1510px)/2 + 50px) !important;
      }
    }
    
    @media only screen and (max-width: 1509px) {
      .flex_cell.avia-builder-el-first {
        padding-left: 50px !important;
      }
      
      .flex_cell.avia-builder-el-first {
        padding-left: 50px !important;
      }  
      
      .flex_cell.avia-builder-el-last {
        padding-right: 50px !important;
      }  
    
      .flex_cell.avia-builder-el-last {
        padding-right: 50px !important;
      }
    }

    see: https://webers-testseite.de/grid-row-layout/

    the 1/1 Container shows you the standard of 1510px width on my setting.

    • This reply was modified 5 years, 3 months ago by Guenni007.
    in reply to: Element color stretch to left or right side of viewport #1258600

    Take the grid-row element and set your 2/3 – 1/3 grid cell settings – one of those paddings had to be in relation to screen width
    you had to set a calculated relative padding left or right ( depends if your 2/3 grid cell is on the left or right ) – and only set the rules for screen-width less than 1400px ( your 1340px + 2x30px (if this is the alb padding setting ) case if you like to preserve a left / right padding of your alb setting ( in my case 30px )
    on responsive case Enfold has its own rules for padding.

    @media only screen and (min-width: 1400px) {  /*** it depends on your setting on the alb - i got 30px on all sides : 1340px + 60px ***/
      .flex_cell.avia-builder-el-first {
        padding-left: calc((100vw - 1340px)/2) !important;
      }
      
      .flex_cell.avia-builder-el-first {
        padding-left: calc((100vw - 1340px)/2) !important;
      }  
      
      .flex_cell.avia-builder-el-last {
        padding-right: calc((100vw - 1340px)/2) !important;
      }  
    
      .flex_cell.avia-builder-el-last {
        padding-right: calc((100vw - 1340px)/2) !important;
      }
    }

    these rules can be used for all grid-cell sizes because only the first and last are selected!

    See example page with 1/2 grid-cell size – but it is the same rules as above ( i have 1510px standard setting for content)
    https://webers-testseite.de/grid-row-layout/

    in reply to: Auto Added Paragraph Tags #1258583

    Kann sein, dass du
    a) das Merging der css und js files: Unter Enfold / Leistung: “Alte CSS- und JS-Dateien löschen?” erneuern musst
    b) den Browsercache refreshen musst #
    und c) natürlich darfst du nicht erwarten, das alt angelegte Layouts sich dadurch verbessern.
    – es werden nur neu erstellte Texte beeinflusst.

    welche p tags stören dich? manchmal werden nämlich auch lästige leere p-tags erstellt.
    da gäbe es eine Lösung für.

    in reply to: Auto Added Paragraph Tags #1258547

    by the way – the line in textblock.php is now on the newest enfold on line 222.
    the wpautop had to be erased – so from

    
    $params['innerHtml'] = "<div class='avia_textblock avia_textblock_style' data-update_with='content'>".stripslashes(wpautop(trim(html_entity_decode( $params['content']) )))."</div>";

    to

    
    $params['innerHtml'] = "<div class='avia_textblock avia_textblock_style' data-update_with='content'>".stripslashes(trim(html_entity_decode( $params['content']) ))."</div>";
    

    if you are working on a child-theme you can have a whole edited textblock.php on your child-theme/shortcodes/ folder by having this little snippet in your child-theme functions.php:

    function avia_include_shortcode_template($paths){
      $template_url = get_stylesheet_directory();
          array_unshift($paths, $template_url.'/shortcodes/');
      return $paths;
    }
    add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1);
    • This reply was modified 5 years, 3 months ago by Guenni007.
    in reply to: Icon Grid backside links #1257719

    off topic : it would be nice to have on a backside image link – for the image a title attribute too.
    these images on backside linking to lightbox do not have a title.

    in reply to: Icon Grid backside links #1257542

    ok on an absolute fresh install – it will have effect – but only with pseudo before container setting. But Overlay images are not well placed then.

    with:

    .avia-icongrid-borders-all li .avia-icongrid-wrapper::before, 
    .avia-icongrid-borders-between li .avia-icongrid-wrapper::before {
    	z-index: -1 !important;
    }

    with:

    .avia-icongrid-borders-all li .image-overlay,
    .avia-icongrid-borders-between li .image-overlay {
        left: 0;
        top: 0;
    }

    the overlay are positioned correct on hover.
    These settings are on .image-overlay-inside but that seems to be not enough

    in reply to: Spread main menu across the entire screen? #1257527

    you can try to have here a flexed container – and the li’s as flex-items.
    Try on quick css:

    #avia-menu {
        display: flex !important;
        flex-flow: row wrap;
        justify-content: space-between;
    }

    this could end up in a multi line menu – but i guess the hamburger state will be effective before that happens

    in reply to: Responsive Background Image in Color Section #1257526

    in order to get a responsive background, you have to include the aspect ratio of your image in the height calculation of the container.
    So if you use an image in 16:9 format as a background, set the color-section to this relative height.
    The best way is to give the color-section a custom class or a unique ID like on my test page: https://webers-testseite.de/responsive-colorsection/

    #responsive-bg {
        width: 100vw;
        height: 56.25vw;
    }

    on that the background is perfectly responsive – But what would you like to do if the container height does not offer enough place for the content?

    You have to have on that case less content or totaly responsive content inside that container. That may lead to too small and non legible font-sizes.
    See heading on mobile view f.e 375px screen width.

    in reply to: Icon Grid backside links #1257435

    does not solve my filp-card behavior – i did all hard-refresh i can do.:
    on standard case without the css settings in icongrid.css there are only :before rule – so what should do an :after rule solve?
    – without content, positioning etc. pp for the after-rule there will be no effect only with z-index setting.
    https://webers-testseite.de/flipcards/

    even setting it to !important and replacing the before construction with the after container does not solve it

    and setting the before containers to -1 will work for the links – but then the borders are partially gone ( not seen)

    
    .avia-icongrid-borders-all li .avia-icongrid-wrapper::before, 
    .avia-icongrid-borders-between li .avia-icongrid-wrapper::before {
    	z-index: -1 !important;
    }

    Do you have an example page where your css hack does work ?

    • This reply was modified 5 years, 3 months ago by Guenni007.
    in reply to: Masonry and Blog Posts Grid Behavior #1256287

    With the normal blog functionality, you can specify a page to include the blog. This is done under Enfold : Theme Options.
    Then you can choose between different blog themes – Enfold : Blog Layout.
    There are three predefined styles and some layouts.
    If you choose Gridlayout the whole thing looks like this: https://webers-testseite.de/pureinstall/beitrags-blogseite/
    there are ways to have more than 3 Columns on the Grid-Layout even here or-

    you can also use the Blog-Alb element or the Gallery or Masonry elements to create different layouts without setting the page under Theme-Options.

    in reply to: Best practices for specific build #1256226

    the layout itself is not so hard to style – but the dot-navigation on the left ( or right) it is a bit more complex.
    See here with a lot of code: https://webers-testseite.de/pureinstall/dot-navigation-with-colored-sections/
    Mine has the active section as title and on hover the others

    these “edited Alb Elements” are deprecated.
    Since a lot of these options are now standard from Enfold. Thanks to Günter.

    mir würde schon reichen, wenn du eine analoge Seite in den Demos verlinken könntest.
    z.B. sowas hier: https://kriesi.at/themes/enfold-shop/shop/
    da dort viele der drüberliegenden Container mit overflow: hidden gesetzt sind müsste man das aufheben um den ja aussenliegenden Schatten zu sehen.

    div .products .product a,
    .product .inner_product,
    .product .thumbnail_container, 
    div .products .product a img {
      overflow: visible;
    }
    .woocommerce-LoopProduct-link:hover .attachment-shop_catalog {
      box-shadow: 2px 2px 8px #888;   
    }


    oder
    man gibt dem entsprechenden Container der den Schatten hat soviel margin, dass der Schatten wieder innerhalb desselben liegt:

    .woocommerce-LoopProduct-link .thumbnail_container {
        margin: 10px !important;
    }
    
    .woocommerce-LoopProduct-link:hover .thumbnail_container {
      box-shadow: 2px 2px 8px #333;
      transition: all 0.3s ease;
    }

    liegt meist daran, dass man vergisst den übergeordneten Containern ein overflow: visible zu geben.
    Mit einer Linkseite wäre ein besserer Tip in Form von css code möglich

    in reply to: page-id alternative #1255417

    maybe this little snippet in child-theme functions.php helps you to have on body (#top) the page/post name as new class:

    function add_slug_body_class( $classes ) {
    global $post;
      if ( isset( $post ) ) {
        $classes[] = $post->post_type . '-' . $post->post_name;
      }
      return $classes;
    }
    add_filter( 'body_class', 'add_slug_body_class' );

    f.e.
    a page “Contact” will have then the class at body: page-contact
    a portfolio “news” will get portfolio-news
    etc.

    in reply to: page-id alternative #1255342

    maybe it is best to ask the plugin developer why the page-ids change on that.

    in reply to: SVG Logo not showing in Chrome Browser #1255287

    1) is it an absolute width (px) or a relative one( 30%, 3em etc )?
    – some browsers need here an absolute value.
    2) on svg-support – did you have the standard settings or do you mark the “Force Inline SVG” ?
    if support-svg inserted for the img the inline svg – an img rule will not work for that.
    you have to make a rule vor svg with an absolute value of width.

    • This reply was modified 5 years, 4 months ago by Guenni007.
    in reply to: Main menu's drop down menu #1255245

    i do have this drop-down menu not inside the viewport often on mega-menus.
    i just gave them a max-height value that is in relation to the viewport height so that if the screen-height is less than the drop-downlist height the content is scrollable:

    #top #header .avia_mega_div {
        max-height: calc(100vh - 20px);
        overflow: auto !important;
    }

    there must be a similar solution for normal drop-down menu.

    #top #header .avia_mega_div,
    #avia-menu li > ul.sub-menu  {
        max-height: calc(100vh - 20px);
        overflow: auto !important;
    }
    in reply to: Image hover effets on board? #1255240

    if you layout Image Elements in columns ( on my test page there are 4 1/4 columns with image elements in it)
    the images have custom captions and the caption is shown allways.
    ( Again this is site-specific – maybe a class on one of the surrounding containers would be better)

    #top.page-id-34956 .av-image-caption-overlay-position {
      height: 50%;
      background-color: rgba(0,0,0,0.4);
      top: 50%;
    }
    #top.page-id-34956 .av-caption-image-overlay-bg {
      opacity: 0 !important;
    }
    #top.page-id-34956 .main_color .avia-image-container a .av-image-caption-overlay-position,
    #top.page-id-34956 .main_color .avia-image-container a .av-image-caption-overlay-position p,
    #top.page-id-34956 .main_color .avia-image-container a .av-image-caption-overlay-position p strong,
    #top.page-id-34956 .main_color .avia-image-container a img {
      transition: all 0.5s ease;
      color: #FFF
    }
    #top.page-id-34956 .main_color .avia-image-container a img {
        filter: grayscale(0.8);
    }
    #top.page-id-34956 .main_color .avia-image-container a:hover img {
        filter: grayscale(0);
    }
    #top.page-id-34956 .main_color .avia-image-container a:hover .av-image-caption-overlay-position {
      background-color: orange;
    }
    #top.page-id-34956 .main_color .avia-image-container a:hover .av-image-caption-overlay-position p,
    #top.page-id-34956 .main_color .avia-image-container a:hover .av-image-caption-overlay-position p strong {
      color: #000;
    }
    in reply to: Image hover effets on board? #1255237

    yes f.e. if you got a masonry-gallery element – you can decide to show title and excerpt allways.
    so you can style on hovering the images the other elements – but here it is only title and excerpt.
    ( This is site-specific for my test-page only) : https://webers-testseite.de/gallery/

    #top.page-id-34956 .av-masonry-entry:hover .av-masonry-image-container {
      filter: hue-rotate(180deg);
    }
    #top.page-id-34956  .av-masonry-entry:hover .av-inner-masonry-content.site-background {
      background-color: orange;
    }
    #top.page-id-34956  .av-masonry-entry:hover .av-inner-masonry-content-pos * {
      color: #000;
    }

    i will see if it is possible with image-alb element

    in reply to: Highlight a link at the passage of the cursor #1255232

    besides the posibility to change it via css styling.
    Enfold offers that as a global setting as highlight-color:
    (click to enlarge)

    this is for anchor-links.

    If you like to highlight something else you had to set a rule for the hover state on that selector.

    off topic: if you like to highlight selected text phrases in a custom color:

    ::selection {
      background: #f29811 !important; 
      color: #000 !important; 
    }
    ::-moz-selection {
      background: #f29811 !important; 
      color: #000 !important; 
    }
    in reply to: How to prevent text to be copied from website pages #1255203

    go to the text mode and surround these phrases by a span tag:

    f.e.:
    <span class="nocopy"> Copyright </span>
    or in a heading you can use tags too:
    A Heading with <span class="nocopy">unselectable</span> parts

    see test page again

    in reply to: Probelm with cf7 #1255199

    the form-row with
    – Profilo
    – Indica il prodotto…
    do not close

    these missing two closing div tags are near the end ( you do not want to nest here – i think)
    so close the form-row divs mentioned above – and get rid of these two closing div tags at the end
    surrounding <div class="wpcf7-response-output" aria-hidden="true"></div>

    ending up in:

    
    <div id="responsive-form" class="clearfix">
    	<div class="form-row">
    		<div class="column-half first">Nome (*)<br><br>
    			your spans inside
    		</div>
    		<div class="column-half">Cognome (*)<br><br>
    			your spans inside
    		</div>
    	</div>
    
    	<div class="form-row">
    		<div class="column-half first">Mail (*) <br><br>
    			your spans inside
    		</div>
    		<div class="column-half">Telefono (*) <br><br>
    			your spans inside
    		</div>
    	</div>
    
    	<div class="form-row">
    		<div class="column-full">Profilo (*)<br><br>
    			a lot of nested spans
    		</div>
    	</div> 
    
    	<div class="form-row">
    		<div class="column-full">Indica il prodotto a cui sei interessato (*)<br><br>
    			a lot of nested spans
    		</div>
    	</div> 
    
    	<div class="form-row">
    		<div class="column-full">Come possiamo aiutarti (*)<br><br>
    			a lot of nested spans
    		</div>
    	</div>
    
    	<div class="form-row">
    		<div class="column-full">
    			a lot of tags including GDPR Compliance
    		</div>
    	</div>
    
    	<p><input type="submit" value="Invia la tua richiesta" class="wpcf7-form-control wpcf7-submit" disabled="">
    		<span class="ajax-loader"></span>
    	</p>
    
    	<div class="wpcf7-response-output" aria-hidden="true"></div>
    </div> 
    
    in reply to: Probelm with cf7 #1255195

    Another hint : if a div is opend – it should be closed too.
    i do not see the whole but proove that – the two first containers of <div class="form-row"> open – but do not close
    on the bottom there is one closing div etc.
    Can you post the whole code you got her ( please use the code-tag) then we can look on that.

Viewing 30 posts - 5,131 through 5,160 (of 11,984 total)