Forum Replies Created

Viewing 30 posts - 1,771 through 1,800 (of 11,201 total)
  • Author
    Posts
  • 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:

    Thanks that was the right hint:

    function avf_wp_nav_menu_objects($sorted_menu_objects, $args) {
        // check menu name
        if ($args->menu->name != 'menu-name') return $sorted_menu_objects;
        // edit the menu objects
        foreach ($sorted_menu_objects as $menu_object) {
            // searching for menu items linking to posts or pages
            // can add as many post types to the array
            if ( in_array($menu_object->object, array('post', 'page', 'portfolio', 'attachment')) ) {
                // set the title to the post_thumbnail if available
                // thumbnail size is the first parameter of get_the_post_thumbnail()
                $menu_object->title = (has_post_thumbnail($menu_object->object_id) && $menu_object->menu_item_parent != 0)  ? get_the_post_thumbnail($menu_object->object_id, 'thumbnail') . $menu_object->title : $menu_object->title;
            }
        }
        return $sorted_menu_objects;
    }
    add_filter('wp_nav_menu_objects', 'avf_wp_nav_menu_objects', 10, 2);


    but
    now I have decided to hide it only in the main menu, because in the hamburger menu, the little pictures at the top level items look good.

    in reply to: Print the current date in a text box/button #1406813

    try using that little snippet in your child theme functions.php:

    function show_date_with_shortcode() { 
      date_default_timezone_set('Europe/Berlin');
      setlocale(LC_TIME, 'de_DE.UTF-8');
      $date = date_i18n( 'l \d\e\n ' . get_option( 'date_format' ) . ' ' . get_option( 'time_format' ). ' \U\h\r'  );
      return $date ;
    }
    add_shortcode( 'show_date', 'show_date_with_shortcode' );

    use it as shortcode in your text : [show_date]

    this is for my german language a binding word \d \e \n will end in Freitag den 17.04.1968
    the rest will be corresponding to your lang settings – but if you like to have that binding word f.e. the then use \t\h\e
    if you don’t like the time in this shortcode – just remove that part:
    $date = date_i18n( 'l \d\e\n ' . get_option( 'date_format' ) );

    ___________

    or style a kind of calendar sheet:

    function datum_shortcode() {
      date_default_timezone_set("Europe/Berlin");
      setlocale(LC_TIME, 'de_DE.UTF8');
      $year = date_i18n('Y');
      $day = date_i18n('d');
      $month = date_i18n('F');
      $weekday = date_i18n('l');
      $weekdaycolor = date_i18n('l') == 'Sonntag' ? 'red': 'gray' ;
      $uhrzeit = date_i18n( get_option( 'time_format' ) );
    
      $datum = '<div id="calendar_sheet"><div class="month-year"><span class="month">'.$month.'</span><span class="year">' .$year.'</span></div><div class="day ' .$weekdaycolor.'">'.$day.'</div><div class="weekday">'.$weekday.'</div><div class="time">'.$uhrzeit.'</div></div>';
      return $datum;
    }
    add_shortcode('calendar_sheet', 'datum_shortcode');

    here use it as shortcode in your text: [calendar_sheet]

    some css for it:

    #calendar_sheet{
    text-align:center;
    display: inline-block;
    border:1px solid #eee;
    border-top:15px solid #0076ba;
    -webkit-box-shadow: 5px 5px 2px #ccc;
    -moz-box-shadow: 5px 5px 2px #ccc;
    box-shadow: 5px 5px 2px #ccc;
    background:#fafafa;
    padding: 5px;
    min-width: 150px;
    }
    
    .month-year .month,
    .month-year .year {
      padding: 0 5px
    }
    
    .day {
      font-size:48px;
      font-weight: bold;
      font-family: times;
      padding: 10px 0 0;
    }
    
    .day.red {
        color: red;
    }
    
    #calendar_sheet .time {
      font-size: 24px;
    }

    see both shortcodes in action on: https://enfold.webers-webdesign.de/3-columns/

    again adjust to your language: so for red Sundays change that Sonntag to Sunday in weekday color ;)
    and change to your local time in these lines:

    date_default_timezone_set("Europe/Berlin");
      setlocale(LC_TIME, 'de_DE.UTF8');
    • This reply was modified 1 year, 9 months ago by Yigit.
    in reply to: Sorting on Search Results Page #1406810

    i saw in the code of postslider.php a lot “post_type” notations so i do not try to use it to disturb any other setting. Thats the reason for posttype ;)
    thanks for adding it to core.

    how about my other question – is it possible to have a sorting like in ajax search results ?

    in reply to: H3 tags in the footer #1406809

    ok – allready posted to include a priority. Sorry did not read again.

    in reply to: avf_combo_box_image_size filter #1406679

    thanks – in most cases the simple setting will do the job – but i guess similar to newsbox it will be better to have the oportunity to choose which ID is influenced.

    you see the code above – that is only my test environment. – just change to your needs:

    10 Washington Avenue in San Rafael front exterior<br><br><img class="aligncenter size-square" src="https://www.thomashenthorne.com/wp-content/uploads/2023/03/10-Washington-Ave-San-Rafael-78-of-78-HERO-cropped-180x180.jpg" alt="10 Washington Avenue in San Rafael front exterior" width="180" height="180" />

    guess that will work – but i think that the size on the link will determine the image used ( in this case 180×180 )

    in reply to: Sorting on Search Results Page #1406654

    ok – i edited the postslider.php – and for what i like to have i only added just before output article this:
    ( on Enfold 5.6 in postslider.php just before line 937 )

    if( get_post_type( $the_id ) == 'attachment' ){
      $post_class .= 'posttype-attachment ';
    }

    or more common – if you like to add any post-type as class on articles:

    $posttype = get_post_type( $the_id );
    $post_class .= 'posttype-'.$posttype. ' ';

    so if the post_type is attachment this will be found as class to slide_entry. After that it is easy to change the link behavior to not open the attachment page but to open directly a lightbox.

    in reply to: images – masonry and iOS less than 13 #1406649

    Apple has its own update philosophy ;)
    They don’t offer newer updates for older devices. You have to buy the new devices. Where would that end up if you could run newer versions of iOS on old iPads? They go so far as to build locks into their software ( Ventura OS ) to exclude these devices; so that you can’t even install them manually. With Mac desktop devices, there are probably hacks to get around this lock.

    But you can close that now – i go with my snippet above – and set those new alb elements to display none for devices with less iOS than 13.

    Can you make a screenshot where to find that new feature. I#m looking to image element – and can not find that feature.

    in reply to: avf_combo_box_image_size filter #1406595

    this snippet does change all combo-widget boxes.

    But there was an example here on forum, or maybe i saw it on github :

    function my_avf_combo_box_image_size( $image_size, array $args, array $instance ){
      if( $args['widget_id'] == ( 'avia_combo_widget-1' ) ){
        $image_size = 'square';
      }
      return $image_size;
    }
    add_filter( 'avf_combo_box_image_size', 'my_avf_combo_box_image_size', 10, 3 );

    with a selction via widget_id –

    in reply to: Website isn’t loading because of the child-theme #1406557

    change theme name

    ? why – that is the trick with a child-theme it looks for the parent theme by name.
    ( see style.css of the child-theme ):

    /*
    Theme Name: Enfold Child
    Description: Childtheme fuer Enfold
    Version: 1.0
    Author: Kriesi
    Author URI: http://kriesi.at
    Template: enfold
    */

    if there is no template : enfold ?

    ______

    btw. – there are ways to obfuscate the parent theme : see docu

    As mentioned above why don’t you use: /%category%/%postname%/
    one disadvantage – if you got 2 or more Categories for one Post the first category name will be inserted in that permalink.

Viewing 30 posts - 1,771 through 1,800 (of 11,201 total)