Forum Replies Created

Viewing 30 posts - 9,421 through 9,450 (of 11,481 total)
  • Author
    Posts
  • in reply to: Adding an icon to the form submit button. #828476

    well we have on contact form that element : input.button[type="submit"] maybe it is possible to prepend some code to that element and style it later via quick css

    in reply to: Convert Hyphen to Non-Breaking Hyphen #825034

    by the way not all fonts (webfonts) do have that sign (non-breaking-hyphen)

    for the headings we can use the ampersand filter :

    add_filter('avia_ampersand','non_breaking_hyphens');
    function non_breaking_hyphens($content) {
    		$content = str_replace("-","‑",$content); 
    		return $content;
    }

    think of the second – is the entity & #8209

    in reply to: Convert Hyphen to Non-Breaking Hyphen #824860

    the code works but i do not know how to avoid replacing in f.e. google-map iframe input. The replacement does not stop doing that job on inline-style etc. so there must be a way to make the replacement more specific – means f.e. only replace the string on phrases and headings f.e.

    i stay connected.

    in reply to: Convert Hyphen to Non-Breaking Hyphen #824807

    it does not work in the way i want. Everything works fine but it has to be more specific only for textarea. it changes even in Source code all hyphens to the new replacement. F.e. classes from style=text-align etc.

    hey mods – no idea how to make it more specific.?

    um es nochmals zu verdeutlichen, dass hier: .av-masonry {background-color: #”002d7d; } steht nicht in deiner Quick css ?

    in reply to: Convert Hyphen to Non-Breaking Hyphen #824612

    so this seems to be better :

    function replace_content($content)
    {
    $content = str_replace('-', "<span class='nobreak'>‑</span>",$content);
    return $content;
    }
    add_filter('the_content','replace_content');

    here is the image because you know now :

    see here in action: https://webers-testseite.de/abc/

    The class seems to be very important (like with ampersand and doublequotes on functions-enfold.php) – there is no need to have some rules behind that class -but without there was a mess in enfold alb elements sometimes.

    • This reply was modified 7 years, 11 months ago by Guenni007.
    in reply to: Convert Hyphen to Non-Breaking Hyphen #824601

    see last entry

    • This reply was modified 7 years, 11 months ago by Guenni007.

    wenn alle Plugins aus sind, passiert das auch noch?
    bitte löschen im Quick css und neu anlegen.

    Die enfold_child.css ist zunächst vorne – alle Einstellungen, die du via Enfold Options festlegst. Die sind alle hintereinanderweg geschrieben, dann kommt das quick css als Addendum dazu.

    schätze es ist die Datei : dynamic-css.php dafür verantwortlich

    • This reply was modified 7 years, 11 months ago by Guenni007.

    hast du Caching Tools am Start – insbesondere solche die auch zB css oder js minify funktionen haben?

    Hast du in deinem Child-Theme functions.php Benutzereinträge?
    Poste mal bitte.

    Oder hast du custom Shortcodes im Gebrauch?

    • This reply was modified 7 years, 11 months ago by Guenni007.

    hast du mal versucht diese Installation komplett via ftp (enfold ordner) zu löschen, und einen neuen Enfold Ordner hochzuladen?
    Da du ja ein Child-Theme nutzt sollte nichts weiter passieren.

    bin noch nicht mit allen Installationen auf der neuesten 4.1.2 aber unter 4.1.1 kann ich das so nicht bestätigen.
    Bei mir läuft das so wie es sein soll.

    in reply to: Convert Hyphen to Non-Breaking Hyphen #824169

    but you have to use normal hyphen – i see you used sometimes in “Myo‑Santé” a different dash (longer one)
    see also here: https://csswizardry.com/2010/01/the-three-types-of-dash/

    btw: for a soft-hyphen ( an unseen breaking point of a word) i would never use a normal dash on those cases i use ­ or &shy;
    and because of boardsoft which transfer these Entities directly in its pendent it is & and behind #173; or shy;

    PPS – a bit offtopic : i sometimes use the very good plugin hyphenator to have a typographical correct hyphenation – and mainly when using Textblocks in justify manner. see Here (it is not only german)

    • This reply was modified 7 years, 11 months ago by Guenni007.
    in reply to: Convert Hyphen to Non-Breaking Hyphen #824135

    maybe it is possible through the wptexturize function in wp-includes/formatting.php
    but how should a function decide if a dash is a non-breaking hyphen or not.

    This was first in my mind:

    function non_breaking_hyphens($content){
        return str_replace('-', '‑', $content);
    }
    add_filter('the_content', 'non_breaking_hyphens');

    the second dash is your entity – the board soft directly transfered it allthough it is in code block
    so it is & and behind #8209;

    PS: now i see that french has alot of those words rendez-vous etc.

    PPS: this is the way Enfold did it with the ampersand sign and some quotation-marks (functions-enfold.php lines 571ff)
    Maybe this could be done here too- because if a dash is set consciously it is nearly 100% a non-breaking dash.

    • This reply was modified 7 years, 11 months ago by Guenni007.
    in reply to: Convert Hyphen to Non-Breaking Hyphen #824091

    what is the thing you like to reach for e.g. “Pre-Order”

    you want to prevent the hyphenation in this word?

    I like this little tool from Frank Bültge (addquicktag)
    this tool adds quick tags to your editor for example a “nowrap” tag

    you have to define a class f.e.:

    .nowrap { white-space:nowrap; }

    if you are in your editor now you can mark a word or a phrase and use quick tag.
    This will generate an opening tag like <span class="nowrap"> and after the marked content a closing tag </span>

    you can do it by text-modus too – but with addquicktag it is realy simple then.

    in reply to: Custom widget not showing #823231

    if it is only for this site you can combine both rules (if you want it for all pages and after each color-section or grid-row this could be done via classes)

    .page-id-117 #av_section_1::after, .page-id-117 #after_section_1::after  {
    content: ” “;
    display: block;
    height: 15px;
    width: 100vw;
    background: rgba(0, 0, 0, 0) -moz-linear-gradient(left center , #604b66 0%, #604b66 33%, #937522 33%, #937522 66%, #d6a83e 66%);
    background: -webkit-linear-gradient(left, #604b66 0%,#604b66 33%,#937522 33%,#937522 66%,#d6a83e 66%);
    background: linear-gradient(to right, #604b66 0%,#604b66 33%,#937522 33%,#937522 66%,#d6a83e 66%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=’#604b66′, endColorstr=’#d6a83e’,GradientType=1 );
    background-repeat: none;
    background-position: center top;
    background-size: 100vw 15px;
    }

    btw: stretch your background-image of the color-section on top (cover element) because it ends on bigger screens.

    • This reply was modified 7 years, 11 months ago by Guenni007.
    in reply to: Custom widget not showing #822947

    if you like to have it after each section you can add (this is only a short form of that above plus a rule for avia-section):

    .avia-section::after, .page-id-117 #after_submenu:after {
        background: rgba(0, 0, 0, 0) linear-gradient(to right, #604b66 0%, #604b66 33%, #937522 33%, #937522 66%, #d6a83e 66%) repeat scroll center top / 100vw 15px;
        content: " ";
        display: block;
        height: 15px;
        width: 100vw;
    }

    but than you have to get rid of those grid-rows which are for that “separator”

    in reply to: Custom widget not showing #822936

    yes – you should only remove that grid under your price-table.
    it seems that a container which is set to 100% max-width hampered the building of sidebar.
    Having one above changes something now you have an id for the price-table container of #after-submenu

    so code is than:

    .page-id-117 #after_submenu::after {
        content: " ";
        display: block;
        height: 15px;
        width: 100vw;
        background: rgba(0, 0, 0, 0) -moz-linear-gradient(left center , #604b66 0%, #604b66 33%, #937522 33%, #937522 66%, #d6a83e 66%);
        background: -webkit-linear-gradient(left, #604b66 0%,#604b66 33%,#937522 33%,#937522 66%,#d6a83e 66%);
    	background: linear-gradient(to right, #604b66 0%,#604b66 33%,#937522 33%,#937522 66%,#d6a83e 66%);
    	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#604b66', endColorstr='#d6a83e',GradientType=1 ); 
        background-repeat: none;
        background-position: center top;
        background-size: 100vw 15px;
    }
    • This reply was modified 7 years, 11 months ago by Guenni007.
    in reply to: Custom widget not showing #822550

    the grid row above was not the problem – it is the following one – so if you like you can insert in a different way:

    try adding this to quick css:

    .page-id-117 #after_section_1::after {
        content: " ";
        display: block;
        height: 15px;
        width: 100vw;
        background: rgba(0, 0, 0, 0) -moz-linear-gradient(left center , #604b66 0%, #604b66 33%, #937522 33%, #937522 66%, #d6a83e 66%);
        background: -webkit-linear-gradient(left, #604b66 0%,#604b66 33%,#937522 33%,#937522 66%,#d6a83e 66%);
    	background: linear-gradient(to right, #604b66 0%,#604b66 33%,#937522 33%,#937522 66%,#d6a83e 66%);
    	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#604b66', endColorstr='#d6a83e',GradientType=1 ); 
        background-repeat: none;
        background-position: center top;
        background-size: 100vw 15px;
    }
    in reply to: Custom widget not showing #822513

    see my comment on https://kriesi.at/support/topic/custom-widget-not-showing/#post-822505

    delete the following grid-row to proove – and than we will see if we can do that “Separator” in a different way

    but you can force it by inserting the price-table in a 2/3 column and in that 1/3 column the Widget-Area ALB Element and do for that page/post a non sidebar layout!

    in reply to: Custom widget not showing #822505

    or put in your price-table in a 1/1 container – this will make the trick to have the sidebar besides that Container.

    edit : ok – i see in source codes that you done that allready

    the point is the following grid-row – don’t know if this is a bug?
    Allthough you have a 1/1 container there is no sidebar

    • This reply was modified 7 years, 11 months ago by Guenni007.
    in reply to: Custom widget not showing #822491

    so now with your website online i see you are using on that page a grid-layout or color-sections – these are per definition 100% width

    But you can mimic it by:
    click to enlarge

    see example here: https://webers-testseite.de/test/

    in reply to: Custom widget not showing #822485

    you have to do both – but on the sidebar if you like this as a place for your custom widget area “Rates” ( i looked again to source code of sidebar.php) you don’t need to register that area. Allthough kriesi has an extra action hook for that on line 87ff
    // customize default sidebar and add your sidebars

    – make your own Custom Widget in the widget area and call it “Rates”
    – goto the post/page you like to show your new custom widget.
    – on the right side of the editor mode there is a window : Layout
    – choose on Sidebar Settings (right or left)
    – choose on Sidebar Setting ( Rates )
    – do not forget to put in some Content to that Widget Area – otherwise it is there but empty

    in reply to: Home Page Video #822478

    but in a color-section only this one will work : https://www.youtube.com/watch?v=Wq-DEL2ONGg?rel=0&autoplay=1&loop=1

    in reply to: Home Page Video #822474

    https://www.youtube.com/watch?v=Wq-DEL2ONGg#action=share

    the shortform is ok – but i think that at the end there will be related Videos
    so i think its better you use: https://www.youtube-nocookie.com/embed/Wq-DEL2ONGg?rel=0&autoplay=1&loop=1

    in reply to: concerning to a thread "add-hover-on-logo" #821979

    Or – like in former times ( than you can have different colors etc. ) with a sprite image and only shift by css the “image”
    Big advantage of sprite images is that all you need is allready loaded because both images are combined in one with known distance

    • This reply was modified 7 years, 11 months ago by Guenni007.
    in reply to: Custom widget not showing #821952

    if you are working with child-theme you can manage it via that hook in functions.php of your child-theme:

    add_action( 'ava_add_custom_default_sidebars', 'custom_sidebar_widget_area' );
    function custom_sidebar_widget_area() {
    	dynamic_sidebar( 'Rates' );
    }

    but it might work on sidebar without that code. You only have to choose on the Editior-Page – right side that you want to see this new custom sidebar.

    Did you drag a widget to that new custom-sidebar?

    hm seems to be gone – now it works on firefox too:

    here is the download for Enfold 4.1 : download

    no i think you have to do the selection via this way.
    but you might go over a custom class for those settings – and prevent doing it for each page/post you like to influence. – So you only got a couple of rules

    and if you like to have it bigger try to define it via screenwidth (in this case too a 4/3 ratio) :

    .mfp-iframe-scaler {
        height: 0;
        left: 50%;
        overflow: hidden;
        padding-top: 45vw !important;
        position: relative;
        transform: translate(-50%) !important;
        width: 60vw !important;
    }
Viewing 30 posts - 9,421 through 9,450 (of 11,481 total)