Forum Replies Created

Viewing 30 posts - 9,241 through 9,270 (of 11,529 total)
  • Author
    Posts
  • in reply to: Combined CSS for Enfold theme #862449

    Allthough this is an old thread – i will give some advice using text-indent: google does not like that – because some uses it to implement text or “meta” infos to websites without concerning to the content. Sometimes they rank that pages back. Bad SEO !

    in reply to: Custom font added but nothing happens #862447

    in reply to: How to disable quick CSS style ? #862443

    give your text-block element a unique custom class f.e. “centertext”
    (don’t know if this is in the meanwhile on default aktivated – if not do this into your functions.php of your child-theme:

    add_theme_support('avia_template_builder_custom_css');
    

    than you have the oportunity to give most of the alb element a unique class and you can select those text-block elements now via your custom class above :

    .avia_textblock.centertext p {
    text-align: center !important;
    }

    if you only want to have it only for one or two text-block elements use the text-block editior to center your text by the inline css.

    in reply to: Jumping to anchors from other pages does't work well #862037

    What is a bit confusing to me is that your anchor-links are just behind the page.
    On all my installation the link will be (concerning to your site) : http://www.contelle.de/trainings/#alltrainings
    what did you do that this linking goes to http://www.contelle.de/trainings#alltrainings ?
    is it just because of your permalink structure ?

    in reply to: Widget unter dem Header einbauen #861733

    das ist als Ersatz für das gedacht gewesen, was du als nicht praktikabel hieltest. Also bitte die andere funktion löschen.
    Du hast wahrscheinlich noch beide Sachen drin, wenn du zwei gleiche Funktionsnamen hast, dann passiert das. (
    lade dir die functions.php via ftp runter – ändere den Funktionsnamen um zB

    add_action( 'ava_after_main_container', 'header_widget_area1' );
    function header_widget_area1() {
      dynamic_sidebar( 'header' );
    }

    oder wie gesagt die eine Sache von deinem link oben löschen. Funktionsnamen immer nur einmal nutzen.

    in reply to: Widget unter dem Header einbauen #861721

    siehe oben
    the ava_after_main_container is a bit different to those linked hooks.

    in reply to: Widget unter dem Header einbauen #861719

    es gibt bei den ALB (advanced layout builder) inhaltselementen ein “Benutzerdefiniertes Widget Area” damit kannst du individuell ein Widget oben im Content platzieren.

    global: (ich denke jetzt mal wieder englisch)
    if you are working with a child-theme, then instert into functions.php of child-theme:

    add_action( 'ava_after_main_container', 'enfold_customization_header_widget_area' );
    function enfold_customization_header_widget_area() {
      dynamic_sidebar( 'header' );
    }

    goto widget and create a new widget area called “header
    this container is the first one in main – and above all sliders etc.

    in reply to: Custom font added but nothing happens #861420

    please read the entries not only look for code :
    you have still in your custom.css:

    and that is wrong

    @font-face {
        font-family: "IRANSansWeb-Light";
        src: url("IRANSansWeb-Light.eot?#iefix") format("embedded-opentype"), url("IRANSansWeb-Light.woff") format("woff"), url("IRANSansWeb-Light.woff2") format("woff2"), url("IRANSansWeb-Light.ttf") format("truetype"), url("IRANSansWeb-Light.svg#IRANSansWeb-Light") format("svg");
    }
    @media only screen and (min-width: 768px) {
    @media only screen and (max-width: 767px) {
    }
    }

    if you have your fonts in: malekzadegan.com/wp-content/themes/enfold/fonts
    please try :

    @font-face {
     font-family: 'IRANSansWeb-Light';
     src: 	url('http://malekzadegan.com/wp-content/themes/enfold/fonts/IRANSansWeb-Light.eot');
     src:	url('http://malekzadegan.com/wp-content/themes/enfold/fonts/IRANSansWeb-Light.eot?#iefix') format('embedded-opentype'),
     		url('http://malekzadegan.com/wp-content/themes/enfold/fonts/IRANSansWeb-Light.woff2') format('woff2'), 
     		url('http://malekzadegan.com/wp-content/themes/enfold/fonts/IRANSansWeb-Light.woff') format('woff'), 
     		url('http://malekzadegan.com/wp-content/themes/enfold/fonts/IRANSansWeb-Light.ttf')  format('truetype'),
     		url('http://malekzadegan.com/wp-content/themes/enfold/fonts/IRANSansWeb-Light.svg#IRANSansWeb-Light') format('svg');
     }
    
    @media only screen and (min-width: 768px) {
    }
    @media only screen and (max-width: 767px) {
    }

    I’m out now – you are a bit “advice-resistant”
    wait for a mod

    Last advice: try a plugin like https://de.wordpress.org/plugins/use-any-font/

    in reply to: Custom font added but nothing happens #861167

    are you able to copy&paste ?
    can you please test it with absolut path

    this is what you did:

    @font-face {
        font-family: "IRANSansWeb-Light";
        src: url("IRANSansWeb-Light.eot?#iefix") format("embedded-opentype"), url("IRANSansWeb-Light.woff") format("woff"), url("IRANSansWeb-Light.woff2") format("woff2"), url("IRANSansWeb-Light.ttf") format("truetype"), url("IRANSansWeb-Light.svg#IRANSansWeb-Light") format("svg");
    }
    @media only screen and (min-width: 768px) {
    @media only screen and (max-width: 767px) {
    }
    }

    the media queries are corrupted (curved brackets are not the way i did – open/close )

    here stops my help now. I can not anymore.

    • This reply was modified 7 years, 9 months ago by Guenni007.
    in reply to: Reset all options killed my client website #861145

    maybe you can deactivate it by default – and must activate it if you like to have it:
    this could be a good thing in functions.php of everyones child-theme

    function admin_head_mod() {
    echo '<style type="text/css">
    .avia_reset {pointer-events: none !important }
    </style>';
    }
    add_action('admin_head', 'admin_head_mod');
    in reply to: Custom font added but nothing happens #861139

    what makes me wonder is that you haven’t eot itself and woff2 – nevertheless try this please in custom.css
    Edit why don’t you tell us not the whole truth – you got woff2 and eot – this is important too!
    1) i see you inserted again a relative path ( the path to the enfold root direktory is something different than what you did)
    The root directory of enfold is not the root directory of your url

    2) Custom.css is the right way – but you inserted it in the mediaquery part.
    this is not needed. place the @import rule above
    so delete everything in this file and insert:

    @font-face {
     font-family: 'IRANSansWeb-Light';
     src: 	url('http://malekzadegan.com/wp-content/themes/enfold/fonts/IRANSansWeb-Light.eot');
     src:	url('http://malekzadegan.com/wp-content/themes/enfold/fonts/IRANSansWeb-Light.eot?#iefix') format('embedded-opentype'),
     		url('http://malekzadegan.com/wp-content/themes/enfold/fonts/IRANSansWeb-Light.woff2') format('woff2'), 
     		url('http://malekzadegan.com/wp-content/themes/enfold/fonts/IRANSansWeb-Light.woff') format('woff'), 
     		url('http://malekzadegan.com/wp-content/themes/enfold/fonts/IRANSansWeb-Light.ttf')  format('truetype'),
     		url('http://malekzadegan.com/wp-content/themes/enfold/fonts/IRANSansWeb-Light.svg#IRANSansWeb-Light') format('svg');
     }
    
    @media only screen and (min-width: 768px) {
    }
    @media only screen and (max-width: 767px) {
    }
    in reply to: Custom font added but nothing happens #861058

    if you have no child-theme the best place maybe for it the custom.css

    in reply to: Custom font added but nothing happens #861053

    and by the way you entered it in the enfold style css ?

    /*
    * PLEASE DO NOT EDIT THIS FILE!
    *
    * This file is only in your themefolder for WordPress to recognize basic theme data like name and version
    * CSS Rules in this file will not be used by the theme.
    * Instead use the custom.css file that is located in your themes /css/ folder to add your styles.
    * You can copy a style rule from any of your css files and paste it in custom.css and
    * it will override the original style. If you just want to add small css snippets you might also
    * want to consider to add it to the designated CSS option field in your themes backend at: Theme Options->General Styling
    */

    and the real code you entered is:

    @font-face {
     font-family: 'IRANSansWeb-Light';
     src: url('IRANSansWeb-Light.eot?#iefix') format('embedded-opentype'), 
     url('IRANSansWeb-Light.woff') format('woff'), 
     url('IRANSansWeb-Light.ttf')  format('truetype'),
     url('IRANSansWeb-Light.svg#IRANSansWeb-Light') format('svg');
     }

    so font-family has to be determined as: IRANSansWeb-Light

    where exactly is your fonts folder with the IRANSansWeb-Light ?

    in reply to: Custom font added but nothing happens #861047

    this assumption is probably correct

    look in your css code if you find any entries for IRANSans – because i do not find in your code the setted iransansweblight.
    maybe it is an inline-code transfered via copy&paste from word to text block element

    in reply to: Oh wow – high Sierra Site of Apple is nice #861038

    i can live with the minimal niveau difference on scrolling. The slower you scroll the better the result. Seems to be some rounding problems and throttle faults – but to make it withour throttling there are to many steady provings of the scroll event.

    in reply to: Oh wow – high Sierra Site of Apple is nice #861036

    in the meanwhile i think it is best if we take the grid row for that.
    than we have the opportunity to put in as many 1/1 containers to the 1/2 grid as we like. And we can style each 1/1 container than.
    the only thing to do is to give the grid-row 1/2 1/2 the class parallax – that is it.

    every class is needed is added by the function: again do not forget the throttle function

    https://webers-testseite.de/apple2

    in reply to: Oh wow – high Sierra Site of Apple is nice #860919

    see private content

    • This reply was modified 7 years, 9 months ago by Guenni007.
    in reply to: Google Map marker custom resize #860724

    by the way i found it a bit unpolite to have some questions concerning to a website and supress right mouse button.

    i can see on your example page that the full-size image is taken:
    https://www.westend.com/wp-content/uploads/westend_london_alexander_mcqueen_pin-1.png

    i told you to make a png square which has on top more transparency. click on the png above on https://kriesi.at/support/topic/google-map-marker-custom-resize/#post-859817
    thats all

    I think more explanation is not possible – so you now have to wait for a mod – give them your backend data.
    So they could do it for you. You see on my site that it works this way!

    • This reply was modified 7 years, 9 months ago by Guenni007.
    in reply to: Oh wow – high Sierra Site of Apple is nice #860646

    i’m on a solution for small screens when it goes to 1 column.
    i guess i only toggle classes of columns
    and this with debounce timing

    in reply to: Custom font added but nothing happens #860609

    hm – i can see the font on nearly all letters.
    except the logo :lol
    so clear all cache options (browser etc.)

    in reply to: Oh wow – high Sierra Site of Apple is nice #860586

    Realy ? – you mean that column scrolling ?
    i thought that something should stay here as
    Unique Selling Proposition on my site – as the kriesi circle :lol:

    • This reply was modified 7 years, 9 months ago by Guenni007.
    in reply to: Custom font added but nothing happens #860340

    try the absolute path to see if you have addressed it with your relative path correct.

    I would try it in style.css of your child-theme – which you can easily edit via dashboard – appearance – edit.
    and the urls are comma separated – and only the last one gets a semicolon !

    in reply to: Reset all options killed my client website #860336

    Ok – then I wish you all the best and an understanding customer.
    Good luck

    in reply to: Reset all options killed my client website #860283

    i seems not to be so urgent.

    in reply to: Can't get video to open in lightbox #860271

    this is unusual – because i think it is on default install activated.

    in reply to: DIN font #860261

    ropa not roboto ! this is on default not integrated in enfold.

    tell us exactly where your fonts are (maybe a good place is /wp-content/uploads/fonts) and the names of your files

    than you might place a @import rule to style.css of your child-theme – something like this:

    @font-face{ 
    	font-family: 'MyWebFont';
    	src: url('WebFont.eot');
    	src: url('WebFont.eot?#iefix') format('embedded-opentype'),
    	     url('WebFont.woff') format('woff'),
    	     url('WebFont.ttf') format('truetype'),
    	     url('WebFont.svg#webfont') format('svg');
    }

    you have to put in your path to your files

    ____________________________
    if you like to test Ropa – this goes to functions.php of your child-theme:

    add_filter( 'avf_google_heading_font',  'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    $fonts['Ropa Sans'] = 'Ropa Sans:400,400i';
    return $fonts;
    }
    
    add_filter( 'avf_google_content_font',  'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    $fonts['Ropa Sans'] = 'Ropa Sans:400,400i';
    return $fonts;
    }
    • This reply was modified 7 years, 9 months ago by Guenni007.
    in reply to: How to add this Jquery code? #860245

    well this is something i would do via enqueue scripts:

    download those files ( so long you do not edit the code – take the minified one)
    upload it to your child-theme/js folder and do this to your functions.php file of your child-theme

    function include_barcode_js_file() {
       wp_enqueue_script( 'barcode', get_stylesheet_directory_uri().'/js/jquery-barcode.min.js', array('jquery'), 2, true );
    }
    add_action( 'wp_enqueue_scripts', 'include_barcode_js_file', 100 );

    but would you accept to do with it? – it is not a plugin. its just pur script code?

    yes there is a question- i want to get rid of that anoying white background of infowindow on google maps.
    but this fuc… div has no id or class – it is the div just before gm-style-iw class so i think i could manage it in this way:

    google.maps.event.addListenerOnce(map, 'idle', function(){
        jQuery('.gm-style-iw').prev('div').remove();
    });

    every attempt to do it via functions.php hook is failing – so i created this shortcodes.js file in child-theme/js folder – but i think i inserted it in the wrong place!
    i pasted it behind the other addListenerOnce rule on line 583 – and because it does not work – i changed it to (this.map …)

    where can i get rid of the background styling. It is very easy to handle styles on .gm-style-iw

    in reply to: Settings Masonry Portfolio Example: 4 Column Masonry Grid #859956

    the point of it is that on this masonry some elements got both classes (tag-landscape and tag-portrait) – f.e. in your enfold link above the first left image. These are double height and double width.

    Overlay with title : second tab of your masonry options : Element Captions – here you can choos on “Element Title and Excerpt Styling” :
    “Display as centered overlay” the field above is for only show titles

    in reply to: Google Map marker custom resize #859817

    aha now i see what the problem is – the image is bigger but it takes the 80×80 thumbnail as source.

    On line 466 of our google_maps.php you can see:

    $image = wp_get_attachment_image_src($shortcode['attr']['marker'], 'thumbnail');
    
    change it to:
    
    $image = wp_get_attachment_image_src($shortcode['attr']['marker'], 'fullsize');

    it will than take the original uploaded image ! But you have to insert it on googlemaps options again.

    Tip if you don’t want a square – gave to the png more transparency on top

    click to see what i mean

    https://webers-testseite.de/googlemap/

Viewing 30 posts - 9,241 through 9,270 (of 11,529 total)