• Resolved -Josch-

    (@josch-2)


    Hi,

    is it possible to put the ellipsis directly after the shortened text as shown in my screenshot?

    Here is the html output – the ellipsis is positioned after all the divs:

    <div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">
    	<div class="wpb_text_column wpb_content_element ">
    		<div class="wpb_wrapper">
    			<p><br>
    <img src="https://www.domain.de/wp-content/uploads/2022/08/Gastbild.jpg" alt="" class="thumb-lazy-load-show"><br>
    </p><div class="swpm-partial-protection swpm-formatted-msg"><div class="swpm-partial-protection-icon"><span class="dashicons dashicons-info"></span></div><span class="swpm-partial-protection-text">Dieser Inhalt ist nur für Mitglieder.</span></div>
    <p></p><p><strong>Informationen: Drogerie</strong></p></div></div></div></div></div></div>

    Screenshot: https://area9.de/dls/ups/position-of-ellipsis.jpg

    • This topic was modified 2 years, 3 months ago by -Josch-.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @josch-2

    Could you provide us the link to your site? If it is possible then, we might be able to assist you on this.

    Thread Starter -Josch-

    (@josch-2)

    Hi,

    thanks a lot for your answer. How can I securely send you the access data for that site. It is in developer mode with restricted access.

    After some more digging I have a suspicion that “Advanced Excerpt” interferes with the shortcodes of the used “WP Bakery PageBuilder” plugin. In the original post it looks like this:

    [vc_row][vc_column width="1/2"][vc_column_text][swpm_protected visible_to="not_logged_in_users_only"]<br />
    <img src="https://www.domain.de/wp-content/uploads/2022/08/Gastbild.jpg" alt="" />[/swpm_protected]<br />
    [swpm_protected visible_to="logged_in_users_only"]<a href="https://www.domain.de/wp-content/uploads/bilder-Cp35j2z7/0001.jpeg"><img src="https://www.domain.de/wp-content/uploads/bilder-Cp35j2z7/0001-medium.jpeg" alt="" /></a><br />
    <span class="zoomhint" style="font-size: 0.8em;">Zum Vergr??ern bitte auf das Bild klicken.</span>[/swpm_protected]
    [/vc_column_text][/vc_column][vc_column width="1/2"][vc_column_text]<strong>Informationen: Stadtansicht<br />
    Art: Zeitungsartikel<br />
    Jahr: 1960<br />
    Quelle: Bergedorfer Zeitung<br />
    Schlagworte: Luftaufnahme, Foto</strong>
    [/vc_column_text][/vc_column][/vc_row]

    My preferences of “Advanced excerpt”:

    Screenshot: https://area9.de/dls/ups/Advanced-excerpt-options.jpg

    Plugin Author WPKube

    (@wpkube)

    Hi @josch-2

    The excerpt that’s returned by the the page builder ends with a div element which is a block element and whatever comes after it goes into a new row.

    So when our plugin places the ... at the end of the full output it ends up in a new row.

    In the “Strip Tags” option you’d need to uncheck the checkboxes for p and div

    But then you won’t have the multiple paragraphs.

    Send over the URL to your site, there is another method that can be used to add the ... in the desired place, with some CSS, I’ll check the site and send over the code you need.

    Thread Starter -Josch-

    (@josch-2)

    Hi,

    OK, interesting. I definitely need the p and div tags.

    Here is a link:
    https://www.reinbek-lexikon.de/category/gebaeude-plaetze-gueter-hoefe/

    The site isn’t public and secured by a htpasswd file.
    I temporarily set up user/pass: wpkubesupport / support

    I’m waiting to hear from you ??

    Thanks a lot in advance and best wishes,

    Josch

    Plugin Author WPKube

    (@wpkube)

    Hi @josch-2

    Try this CSS code (goes in WP admin > Appearance > Customize > Additional CSS):

    .vc_col-sm-12 .wpb_text_column p:last-child strong:last-child::after {
        content: '...';
    }

    That adds the ... in the place where you need it.

    Disable the ... that’s added by the plugin.

    Thread Starter -Josch-

    (@josch-2)

    Hi,

    yes, perfect. That did the trick. Thanks a lot!

    Best wishes,

    Josch

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Position of ellipsis’ is closed to new replies.