Forum Replies Created

Viewing 30 posts - 2,071 through 2,100 (of 11,513 total)
  • Author
    Posts
  • in reply to: How to add a script to my header? #1408838

    this might help –
    that snippet comes to your child-theme functions.php:

    function your_custom_script(){
    ?>
    <script>
    	// replace that line here by your script code
    </script>
    <?php
    }
    add_action('wp_head', 'your_custom_script');

    but How it is ultimately set also depends on whether it needs any requirements. E.g. the user script needs jQuery – then this must be loaded first before your user script is inserted.

    Please read this first: But even if it is not set by you in a surrounding container – there will be some automatic parent containers anyway. One of them is main.content. with padding : 0 50px
    as a parent container to your #your-unique-id you can’t influence it for lack of css selectors regarding parent containers. The ID you set goes to the direct parent of the avia_textblock class.
    The auto p function will insert p-tags – these will have top/bottom margin of: 0.85em
    This could be set to 0 by your ID:

    #your-unique-id p {
      margin: 0;
    }

    so – even if you use a placed parent container (f.e a 1/1 column) for that text-block and give a custom ID or Class to that Element then it wouldn’t be of any use to you. ( only color-section is usefull – but as a full width element it will not allow sidebares besides )
    For that post influence it by the postid

     /*** customize to your postid ***/
    #top.postid-43042 .content {
      padding: 0;
    }
    in reply to: Replies created does not work ( on my Profile ) #1408795

    you can close this now – but this was not the first shortcode inside a code tag i posted. So I was quite surprised by this reason.

    i guess he wants to show only posts that are in category a and b – The intersection of the two categories –
    only posts that are inside both categories ( a && b)

    maybe there could be a filter solution in future releases to have a logical relation between the “link” f.e. in:
    av_blog blog_type='taxonomy' link='category,4,7' … this is a multiple selection of two categories but relation is on default an “OR” – maybe a checkbox at that element or as mentioned a filter solution will force an “AND” relation.

    depends on where the text-block is? – because f.e. color-sections got a min-height setting of 100px

    in reply to: social icons in footer widget! #1408693

    have you used this: https://kriesi.at/support/topic/social-media-icons-in-footer-8/#post-1397164

    have you added the css in quick css ( otherwise the icons will be : as list under each other )

    #footer .widget ul.social_bookmarks {
        display: inline-flex;
        gap: 0px 10px;
    }
    
    #footer .widget ul.social_bookmarks li {
        border: none
    }

    but why does it break the board soft ( this code inside codetag) but on my wordpress installation inside child-theme functions.php not ?

    in reply to: Replies created does not work ( on my Profile ) #1408687

    but why does it break the board soft ( this code inside codetag – as you mentioned it ) but on my wordpress installation inside child-theme functions.php not ?

    in reply to: Replies created does not work ( on my Profile ) #1408686

    sorry – double post – see next

    in reply to: Replies created does not work ( on my Profile ) #1408631

    Sorry for late reply – i did it now

    Bei iPad Quer hast du dann die Grid-Zellen nebeneinander?
    Das Problem bei dem Konstrukt ist ja das der Content in der anderen Grid-Zelle die Höhe bestimmen muß – ansonsten würde der in das Overflow geraten, oder abgeschnitten werden.
    Daher funktioniert das nur entweder wenn wir im Responsiven Fall sind ( also jede Grid-Zelle die 100% füllt) oder in seltenen Fällen der Content in der anderen Zelle sehr klein ist, sodaß man die Zelle mit dem Hintergrund bestimmen lassen kann wie hoch die Grid-Row ist.

    Schau dir nochmal die Beispielseite an. Unten ist der o.a. Fall : wenig Content
    bei einer 1/2 Grid-Cell hast du dann auch nur die Halbe Höhe um ein “responsives” Verhalten zu erzwingen.
    Mit fixed geht dies nich ( und schon garnicht mit parallax ) Fixierte Elemente befinden sich quasi nicht im ElternContainer – daher ist die basis eines
    background-attachment : fixed die 100% screenweite.

    Für den Fall Grid-Cells nebeneinander habe ich eine weitere Klasse gesetzt:

    _____________

    With iPad landscape you have the grid cells next to each other?
    The problem with the construct is that the content in the other grid cell must determine the height – otherwise it would get into the overflow, or be cut off.
    Therefore this only works if we are in the responsive case (i.e. every grid cell fills 100%) or in rare cases the content in the other cell is very small, so you can let the cell with the background determine how high the grid row is.

    Have a look at the example page again. Below is the above case : little content
    with a 1/2 grid-cell you have only half the height to force a “responsive” behavior.
    With fixed this is not possible ( and certainly not with parallax ) Fixed elements are not in the parent container – therefore the base of a
    background-attachment : fixed is the 100% screen width.

    For the case of grid-cells next to each other I set another class:

    @media only screen and (min-width: 990px) {
      #top .flex_cell.responsives-verhalten.nebeneinander  {
        background-attachment: scroll;
        padding: 0 !important
      }
    
      #top .flex_cell.responsives-verhalten.nebeneinander .flex_cell_inner {
        height: calc(56.25vw / 2) !important;
      }
    }

    _____________

    Where should the content be shown if another tab is open?
    Besides each other – and you scroll then left/right?

    Yes

    in reply to: Replies created does not work ( on my Profile ) #1408538

    All other buttons work – if i click “Replies Created” :

    leider ist deine Seite ja nicht online erreichbar, es wird nur eine “Coming Soon” Seite angezeigt.
    Wenn du allerdings auf diese Demoseite (Link) abzielst, dann ist es auch dort nicht so, dass die Bilder responsive sein können. Der Grund ist, dass es eben keine Bilder sondern Hintergrundbilder sind.
    ( PS beim Einsetzen der Hintergrund-Bilder darauf achten, dass du auch die Vollauflösung einsetzt und kein 300px Bild )

    Man könnte das zwar erreichen ( am leichtesten dadurch, das zunächst alle Hintergrundbilder die gleichen Dimensionen – zumindest aber die gleichen Seitenverhältnisse aufweisen). Den Hintergrund dann auf Scroll zusetzen ist ratsam wie es Ismael vorgeschlagen hat, denn ein Cover Bild müsste ja die gesamte Screenhöhe ( nicht die Containerhöhe ) abdecken.

    Ein Hintergrundbild auf cover gesetzt ist dann “responsiv”, wenn die Containerhöhe mit dem Seitenverhältnis des Hintergrund-Bildes correliert.
    Auf meiner Beispielseite haben die Bilder ein 16/9 Seitenverhältnis ( 1920/1080) haben also bei voller Breite (100vw) eine Höhe von 56.25vw !

    _________

    unfortunately your page is not available online, only a “Coming Soon” page is displayed.
    However, if you point at this demo page (Link) , then it is also not the case that the images can be responsive. The reason is that they are not images but background images.
    ( PS when inserting the background images make sure that you also use the full resolution and not a 300px image ).

    You could achieve this (the easiest way is, that all background images have the same dimensions – but at least the same aspect ratio). Setting the background to scroll is advisable as Ismael suggested, because a cover image would have to cover the whole screen height (not the container height).

    A background image set to cover is “responsive” if the container height correlates with the aspect ratio of the background image.
    On my example page the images have a 16/9 aspect ratio ( 1920/1080 ) so at full width ( 100vw ) they have a height of 56.25vw !

    see ( with 989px breakpoint):
    https://webers-testseite.de/gridrow-layout-with-fixed-bg/

    in reply to: Add background color to full width easy slider #1408492

    try to set the ul background – it is hard to test on developer tools because there is a reload needed to see it.

    #top .avia-slideshow-inner {
      background-color: #000;
    }

    if you need a background-image on that use:

    #top .avia-slideshow-inner {
      background-image: url(https://bastiontechnologies.com/wp-content/uploads/2023/02/slider-systems-engineering-1000x375-1.jpg);
      background-size: cover;
      background-repeat: no-repeat;
      background-position: top left;
      background-color: #000;
    }
    in reply to: Lightbox #1408468

    and what do you expect it should look like
    open f.e. :

    https://www.stilecatalini.it/portfolio-articoli/ventuno-sport-fisherman/

    and compare the behavior with that of the light box. Where is a difference (except the height width of the page) between them that bothers you?

    in reply to: Footer sticky (curtain page effect) ON MOBILE #1408467

    if your footer has more than 100% screen-height or f.e. 90% screen-height – how would you show all your footer content – without scrolling?

    in reply to: Security Question #1408424

    yes – of course

    in reply to: Footer sticky (curtain page effect) ON MOBILE #1408402

    First : put this to your child-theme functions.php:

    add_filter('avf_show_curtains_media_option', '__return_true');

    in reply to: Footer sticky (curtain page effect) ON MOBILE #1408392

    I can’t see your page, but it makes sense for the footer to scroll in responsive case.
    So the curtain effect is not diasabled ( only for stretched Layout available ) but if the footer will be more than 80% of screen-height it will scroll.

    just for info:

    First : put this to your child-theme functions.php:
    add_filter('avf_show_curtains_media_option', '__return_true');

    after doing that there will be a second option to set: “Select to switch back to scroll footer content with page when footer height exceeds selected limit.”

    by the way – the curtain effect works very well – and i think you can remove the info about beta

    in reply to: Would like to remove inline CSS #1408322

    add this to your child-theme functions.php:

    function custom_avf_post_css_create_file( $create ){
      return true;
    }
    add_filter( 'avf_post_css_create_file', 'custom_avf_post_css_create_file', 10, 1 );
    in reply to: Lightbox #1408320

    see f.e. a portfolio masonry:
    https://webers-testseite.de/portfolio-masonry/

    i set the popup in child-theme functions.php to:
    ( that is just for that page-id on my code )

    function add_modal_popup_einstellungen() { 
    if(is_page(42989)){
    ?>
    <script type="text/javascript">
    window.addEventListener("DOMContentLoaded", function () { 
      (function($) {
        $('.av-masonry-entry').on('click', function(e){
          e.preventDefault();
        });
        $('.av-masonry-entry').magnificPopup({
          removalDelay: 700,
          type:'iframe',
          midClick: true,
        }); 
        $(document).on('click', '.popup-modal-dismiss', function (e) {  
          $.magnificPopup.close();
        });
      })(jQuery);
    });
    </script>
    <?php 
    }
    }
    add_action('wp_footer', 'add_modal_popup_einstellungen');

    some css ( in this case the opacity is set to 0.97 that you can see it is a lightbox – if it is 1 – it’s nearby your example page from above.

    #top.page-id-42989 .mfp-bg {
      background-color: #FFF;
      opacity: 0.97;
    }
    
    #top.page-id-42989 .mfp-iframe-scaler {
      width: 100%;
      height: 80vh;
      overflow: hidden;
    }
    
    #top.page-id-42989 .mfp-iframe-holder .mfp-close, 
    #top.page-id-42989 .mfp-image-holder .mfp-close {
      color: #000;
    }
    in reply to: Lightbox #1408319

    if this is what you need: https://www.11-76.com/themes/giant/index-SINGLE-IMAGE.html#

    and you like to style the new content like a page – why not use a page? – those “pages” should be only set to template blank – no header – no footer.

    or – if you like to use it with a portfolio grid ( or a masonry with portfolios ) – you can change that opening behavior to show the linked portfolio in a lightbox ( modal window ) and not to open a new page. The trick is then to not make the look and feel like a lightbox ( but to show as white full overlay ) with just a close button on that.

    in reply to: Lightbox #1408286

    i’m just participant as you – so no private content could be seen by me.
    but maybe the edited tip will help you more than the inline-popup solution

    in reply to: Lightbox #1408272

    I have to honestly confess here that I haven’t read the entire content of the topic, but if with a little thinking you don’t give the team member element, but a color-section (or grid-row) an ID and give it the class mfp-hide, the color-section should be able to appear as similar in a lightbox.

    if this is not enough – why don’t you open a page in a lightbox from your site.
    Place that button and insert a manual link with the url of your wanted pages with addendum: ?iframe=true

    see here https://webers-testseite.de/my-website/

    PS: If it is an external page link – you must have allowed on that external link to be running in an iframe.
    for that i allowed it via htaccess by: Header set X-Frame-Options "ALLOW-FROM https://webers-testseite.de/"

    but on internal pages ( X-Frame-Options “sameorigin” ) this is not needed

    in reply to: Sorting on Search Results Page #1406964

    ok – I thought – inspired by the ajax search results – there would be an easy way to do this.
    so don’t put any work into it – obviously no one else has been interested yet.

    in reply to: Security Question #1406943

    ok – if you do not see it in your text alb element – but it is on nearly all websites i inspect the DOM – that script ( see screenshot of kriesi.at above ) is present.
    And see here for your testpage from private area:


    Edit
    it seems that it comes from a browser plugin ( password-manager ) – but that is a nogo. For all I care on the called page – but to insert it within the content of a page … headshake

    in reply to: Security Question #1406912

    btw. browsing on chrome :
    <script type="text/javascript" src="chrome-extension://fooolghllnmhmmndgjiamiiodkpenpbb/injectedPasswordless.js"></script>

    in reply to: Security Question #1406910

    so try not on a local install – try on a live site.
    look here on board for the DOM :

    this might not be a matter of enfold – because a lot of website do have this script – but maybe one of us has info what it does.
    On textblock i looks this way:
    Each time when i switch between visual and text mode there is another line:

Viewing 30 posts - 2,071 through 2,100 (of 11,513 total)