Forum Replies Created

Viewing 30 posts - 331 through 360 (of 10,880 total)
  • Author
    Posts
  • in reply to: “font-weight” for “strong” tag #1465128

    As I understand it, he has a font that already looks very bold in the regular style. If it is then rendered to 700 by the browser, it is probably no longer legible.
    I think he wants to use the colour change of the strong tag, and probably also the SEO highlighting by setting the same, but without setting these elements to 700.

    f.e.: Lilita One or Alfa Slab One

    PS – @solf : Is it really too complicated to insert a rule into quick css? The way via advanced styling would not have occurred to me.

    • This reply was modified 3 months ago by Guenni007.
    in reply to: Custom font not loading on safari #1465093

    can you please give a feedback – how you solved it ;)

    in reply to: “font-weight” for “strong” tag #1465070

    just place on your quick css the font-family of your needs and set the font-weight to : normal ( usually 400) – maybe with an important .

    #top b, #top strong {
      font-weight: 400;
    }

    if you only like to correct this for the given font ( you know better your font-name)
    here with open-sans example

    #top.open-sans b, #top.open-sans strong {
      font-weight: 400;
    }

    Does it necessarily have to run via the functions.php?
    You could also make the selection in editor mode on the right side in the layout on the corresponding page (https://lingualearn.ch/assessement/) to not display a footer or page. And then either manually – or insert another page at the bottom using the post content element.

    By the way, I no longer see this ALB element in the selection in Enfold 6.0.3.

    Edit: OK – it is now on layout tab ( before it is inside content tab)

    in reply to: Different logo on pages and posts (transparent header) #1465007

    Be careful with the Illustrator standard classes (cls-x). If you also have it elsewhere on your page (e.g. through an inline SVG file), the last CSS rule counts.

    in reply to: Custom font not loading on safari #1464938

    it is this snippet:

    add_action('wp_head', 'enfold_customization_add_scripts');
    function enfold_customization_add_scripts() {
        ?>
        <link rel="stylesheet" href="https://use.typekit.net/rww4dia.css">
        <?php
    }

    that my comment is for. On my htaccess file i do not allow loading from different sources than my own domain.
    If i would place such a snippet – it will not be loaded – allthough the snippet might be correct.

    if that is not the reason for not loading – try to enqueue that css file:

    function enqueue_external_css() {
       wp_enqueue_style( 'adobe_typekit', 'https://use.typekit.net/rww4dia.css' );
    }
    add_action( 'wp_enqueue_scripts', 'enqueue_external_css', 20 );

    _______________

    i do not know if your first snippet do run with newest enfold. This code snippet has been valid for half an eternity.
    For my installations i use now instead:

    function my_output_google_webfonts_script( $activate ){
      return false;
    }
    add_filter( 'avf_output_google_webfonts_script', 'my_output_google_webfonts_script', 10, 1 );
    in reply to: Use Original-Image in lightbox #1464930

    can you try this in your child-theme functions.php:

    function custom_alb_lightbox_image_size( $size, $context ){
      if( $context == ('av_gallery' || 'avia_masonry') ){
        return 'original';
      }
      return $size;
    }
    add_filter( 'avf_alb_lightbox_image_size', 'custom_alb_lightbox_image_size', 10, 2 );
    

    here both (gallery and masonry-gallery) will be influenced.

    in reply to: Custom font not loading on safari #1464882

    Or perhaps your security settings (htacces file, etc.) prevent you from using URLs other than those of your own domain. So loading from https://use.typekit.net/rww4dia.css is not allowed.

    in reply to: header bg in a transparent header #1464762

    To reach the responsive behavior if you have a svg as logo – Enfold added some code to svg tag depending on logo position.
    if you have logo on the left side : preserveAspectRatio="xMinYMid meet"
    that means it stays on x-position on the left and preserves the middle Y-position.
    if logo is centered – it will be : preserveAspectRatio="xMidYMid meet"
    if logo is on the right – it will be : preserveAspectRatio="xMaxYMid meet"

    by the way: if such a code is allready inside the svg tag – enfold will overwrite that for the logo insertion.

    in reply to: header bg in a transparent header #1464753

    first: You then no longer need to change the svg code to make further settings regarding the dimensions.

    #top .logo svg {
      padding: 5px 0;
    }

    (although I think it’s actually good if everything remains legible even when it’s shrunk)

    in your case – i picked up your svg code from your site and open it in a good vectorbased Program. ( Adobe Illustrator or for Mac from Apple: Affinity

    btw. that Affinity Suite : With three programs, they offer at least as much functionality as the Adobe programs and currently cost 90 euros (one-off payment | incl. tax) for all three programs.

    In your case, I can see that a lot of unnecessary groups have been created. So I first ungroup all the existing groups and removed several clipping masks. I then created some meaningful groups (the branding is a group, and the subliner is a group).

    Unfortunately, these programs (Adobe Illustrator etc.) always create meta data that has no need to be placed in the actual vector code. I remove such code manually. For multi-colored or even gradient-filled areas, the different classes on the paths make sense, but if groups or even the whole svg only have one color, I manually delete this information and only add it back to the groups. This sounds very time-consuming, but with a good text editor it can easily be done in one go using search and replace.

    you see that i replace even one space behind the class and replaced it with nothing – Replace All will do the job then.

    PS: my personal preference with svg is to leave only the viewbox in the svg-tag and remove widths and heights.

    in reply to: header bg in a transparent header #1464548

    ok – now you have inserted the blue one :
    put to your quick css:

    html.html_header_transparency #header .logo #strokmatic-logo {
      fill: #FFF !important;
    }

    and please remove those 3 === from rule:

    === #top .av_header_transparency .header_bg {
      opacity:1;
      filter:alpha(opacity=100)
    }
    in reply to: header bg in a transparent header #1464547

    if you look at the svg i offer to you – with a texteditor. you can see the structure i gave to it.
    The xml structure of a svg file is similar to a html page – there is a heading area with info to the svg file and maybe some styling settings.
    then there are groups / path etc. some vectorbased graphic elements.
    your whole logo has an ID – the brand got an own ID and your subline too.
    you now can change the fill information of those path by adressing those ID’s
    (The dotted rectangles indicate that I have only hidden the paths within the groups.)

    so if you set the blue svg logo to enfold logo options – you can change the fill to white by quick css via some css rules. Thats all.
    now you got your white svg logo – but filling the path with blue if the header had no transparency – it will show the blue svg.

    html:not(.html_header_transparency) #header .logo svg path {
      fill: #173F6B !important;
    }
    in reply to: header bg in a transparent header #1464531

    and : do not combine my codes – these are alternatives.

    Only use:

    #top .av_header_transparency .header_bg {
      opacity: 1;
      filter: alpha(opacity=100);
    }
    
    html.html_header_transparency #top #header:not(.av_header_transparency) .header_bg {
      background-color: rgba(0,0,0,0.7) !important;
      -webkit-backdrop-filter: blur(8px);
      backdrop-filter: blur(8px);
    }
    
    html.html_header_transparency #top .av_header_transparency .header_bg {
      background-color: rgba(0,0,0,0.4) !important;
      -webkit-backdrop-filter: blur(5px);
      backdrop-filter: blur(5px);
    }

    do not use the gradient code from here: https://kriesi.at/support/topic/header-bg-in-a-transparent-header/#post-1464021

    in reply to: header bg in a transparent header #1464530

    ok then do it the other way round .

    for your non transparent pages use:

    html:not(.html_header_transparency) #header .logo svg path {
      fill: #173F6B !important;
    }

    but my comment is : look with a good texteditor to your svg and inside my reconstructed. i do not see a need to use clip-path inside.

    in reply to: Body content (Boxed layout) has shrunk #1464527

    there is a rule:

    
    .jumplinks {
      text-decoration:underline!important;
      color:#0000ee!important;
      "} 

    remove that quote – to:

    .jumplinks {
      text-decoration:underline!important;
      color:#0000ee!important;
      } 

    this quote hampers the curly bracket to close that ruleset

    in reply to: Mobile version table view #1464518

    you have this css :

    .avia-table-1 td:nth-child(2) {
      width: 70%;
    }

    and that only influences the first table!

    btw.: This is the by intention:

    @media only screen and (max-width: 767px) {
      .responsive .avia_responsive_table .avia-data-table .avia-button-row, .responsive .avia_responsive_table .avia-data-table tr:first-child th {
        display: none;
      }
    }

    This rule hides the first header.

    in reply to: Developer has discovered errors in Enfold #1464516

    vielleicht liegt der Unterschied darin:
    maybe that’s the difference:

    btw: der BlockContent selbst muss ohne Tag “<style>” eingegeben werden

    Ihr arbeitet mit dem Block Editior? was ich nicht mache
    You work with the block editor ? which I don’t do

    in reply to: Developer has discovered errors in Enfold #1464515

    aber es ist doch genau das, das der Content dem Inhalt hinzugefügt werden soll. Daher eben auch mit dem Wrapper <style> … </style> damit es als inline css wirken kann – und damit hatte ich nie Probleme auf die Schnelle css nur für die entsprechende Seite einzubinden:
    ________
    but it is exactly that, to add the content to the content. Hence the wrapper <style> ... </style> so that it can act as inline css – and I’ve never had any problems quickly integrating css just for the corresponding page:

    see the inline css from my example page above:

    irgendwie muss doch unterschieden werden, ob ich styles oder scripte einfüge. Das geht ja auch mittels des code block elements.
    _______
    Somehow it has to be differentiated whether I insert styles or scripts. This is also possible using the code block element.

    in reply to: add_filter only if class exists on html tag #1464512

    Yes – thanks Ismael – I didn’t realise that Mike’s hint already contained the solution.

    in reply to: Tip: about radios or checkboxes background color #1464475

    by the way – in this css about browser preset colors the scrollbar could influenced too:
    for example for body

    
    selector {
       scrollbar-color: #7bb0e7 #ddd;
    }

    but it has no good browser support ( f.e. Safari) https://caniuse.com/?search=scrollbar-color

    in reply to: add_filter only if class exists on html tag #1464460

    what i’m trying to do:
    all my transparency pages do have dark backgrounds behind the header area. So my “normal” Logo does not realy have a good contrast to the sticky header after header scrolled.
    i like to set on all pages with transparency a different “normal” Logo.

    in reply to: Transition between logo and logo after scroll #1464458

    if it is only a matter of opacity – you can work with transition

    but best would be to see the site you like to have that to give better advice.
    f.e.:

    #header .logo img,
    #header.header-scrolled .logo img {
      transition : opacity 1s ease;
    }
    in reply to: Lightbox Modal Conflict With Essential Grid Plugin #1464422

    The essential grid gallery is just shortcode in the default editor. We are not using a page builder on the gallery pages.
    We are using the page builder for the product pages as we are using masonry galleries inside containers inside a color section. Same as its always been.

    my guess is that the enfold lightbox and the plugin script do interfere with each other. So my idea was to give one of the parent elements the custom class : noLightbox ( please pay attention the use of upper/lower case letters) . Because if the plugin comes with its own script for a lightbox effect, then the Enfold Lightbox script has no need to work here. Remove the css rule above or outcomment it for that test.

    in reply to: Lightbox Modal Conflict With Essential Grid Plugin #1464387

    why did you set this rule?

    .parent-pageid-3375 .mfp-arrow, 
    .parent-pageid-3375 .mfp-container {
        display: none!important;
    }

    is that a trial to not show the enfold lightbox?

    how do you embed this Essential Grid gallery to your pages?

    Enfold has some triggers to hamper lightbox showing on standard enfold lightbox elements like images.
    F.e.: if the gallery is inside a container with custom class: noLightbox

    in reply to: How to download child theme #1464297
    in reply to: header bg in a transparent header #1464289

    On your current website, I can’t find out exactly what is set as the logo color in your CD. So if it’s not #173F6B, just change it in a good text editor before you upload the svg.

    good text editors f.e.: on windows: notepad++ – on OSX : sublime text

    in reply to: header bg in a transparent header #1464287

    ps : i’m a bit confused about the used white svg logo – there is a lot of code inside ( working with clip-path inside is not necessary )
    if you use your standard blue logo ( i optimized a bit the code ) you do not need a logo for transparency headers at all.
    Because inline svg files can be ruled from outside css.
    download it and use it
    https://webers-testseite.de/strokmatic-logo.svg

    you then can change fill page-wise for header scrolled or not etc.
    (this rule works with the svg above – just insert it to your logo – and erase the transparency logo from enfold options.

    .html_header_transparency #header:not(.header-scrolled) .logo svg > g {
      fill: #FFF;
    }

    in your case for home : you got a lot of dark backgrounds ( with that header_bg settings)
    so it would be nice to have here the white filled logo too.
    so if all transparency header pages have dark background – that rule only will work – because you have on header scrolled and not scrolled the white fill:

    .html_header_transparency #header .logo svg > g {
      fill: #FFF;
    }
    in reply to: header bg in a transparent header #1464282

    you have both rulesets of mine in your quick css.
    The blur effect only goes to background-color – because there is the gradient instead – it does not take effect.
    see the background-image above and on the bottom – when i switch off the gradient

    PS i would then work with transparency on that only by rgba value and set the opacity of header_bg to 1

    so at the end only this rules the header_bg:

    #top .av_header_transparency .header_bg {
      opacity: 1;
      filter: alpha(opacity=100);
    }
    
    html.html_header_transparency #top #header:not(.av_header_transparency) .header_bg {
      background-color: rgba(0,0,0,0.7) !important;
      -webkit-backdrop-filter: blur(8px);
      backdrop-filter: blur(8px);
    }
    
    html.html_header_transparency #top .av_header_transparency .header_bg {
      background-color: rgba(0,0,0,0.4) !important;
      -webkit-backdrop-filter: blur(5px);
      backdrop-filter: blur(5px);
    }

    play with blur values and rgba ( the a ) value

    in reply to: How to hide all pages ? #1464225

    set the maintenance mode – to your home page

    logged in (maybe as admin only – i did not test this) you can reach every page – but logged out all visitors will be only able to load the frontpage

    in reply to: Zoom #1464217

    you can increase your font-size for that.

    
    #avia2-menu .menu-item a {
      font-size: 14px;
    }
Viewing 30 posts - 331 through 360 (of 10,880 total)