Forum Replies Created

Viewing 30 posts - 8,641 through 8,670 (of 10,920 total)
  • Author
    Posts
  • 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, 1 month 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, 1 month 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, 1 month 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, 1 month 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/

    in reply to: Id scroll not working in Safari / Icon color Safari #859808

    No – erase the cache!

    copy / past it to your url window:

    chrome://settings/clearBrowserData

    in reply to: Id scroll not working in Safari / Icon color Safari #859805

    the link to priser is on that page not right:

    it is:
    http://www.sudersand.se/vara-boenden/stugor/familjestuga-4-baeddar/#priser but the real link should be:
    http://www.sudersand.se/vara-boenden/stugbyn/familjestuga-4-baeddar/#priser

    so it makes me wonder why it should work on chrome?

    Erase the chrome cache ! then you will see that the link will not work aswell. And maybe the color of the icons is solved then too.
    I see on my chrome and on safari, opera, firefox allways the same background-color: #f6a800

    in reply to: Google Map marker custom resize #859803

    and why can i see your testsite working?
    https://www.westend.com/shopping/savile-row/alexander-mcqueen/#category-map

    click to enlarge:

    in reply to: Google Map marker custom resize #859753

    did you empty your caches ! (Browser Cache and if used minify or super cache plugins cache)

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

    • This reply was modified 7 years, 1 month ago by Guenni007.
    in reply to: Google Map marker custom resize #859697

    i think – no – just try it with other sizes. The only thing is if you want a marker placed it has to be a png – and a somewhat looking pointer (arrow etc)

    in reply to: DIN font #859596

    or you use a google font instead : i think ropa is very nearby the DIN Font

    in reply to: Google Map marker custom resize #859588

    the easiest way would be to edit the shortcode google_maps.php in shortcodes folder
    on array id imagesize you have to insert one line:

    since line 118:

    array(
    "name" 	=> __("Custom Map Marker Image Size", 'avia_framework' ),
    "desc" 	=> __("How big should the marker image be displayed in height and width. ", 'avia_framework' ),
    "id" 	=> "imagesize",
    "type" 	=> "select",
    "std" 	=> "40",
    "required" 	=> array('marker', 'not', ''),
    "subtype" => array(
    
    	__('20px * 20px',  'avia_framework' ) =>'20',
    	__('30px * 30px',  'avia_framework' ) =>'30',
    	__('40px * 40px',  'avia_framework' ) =>'40',
    	__('50px * 50px',  'avia_framework' ) =>'50',
    	__('60px * 60px',  'avia_framework' ) =>'60',
    	__('70px * 70px',  'avia_framework' ) =>'70',
    	__('80px * 80px',  'avia_framework' ) =>'80',
    	__('200px * 200px',  'avia_framework' ) =>'200',
    
    ),),

    how to use shortcodes on child-theme:
    create a subfolder on your child-theme called shortcodes
    insert this to your functions.php of your child-theme:

    add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1);
    function avia_include_shortcode_template($paths){
      $template_url = get_stylesheet_directory();
          array_unshift($paths, $template_url.'/shortcodes/');
      return $paths;
    }

    then the new uploaded shortcode will be active – and not the parent shortcode

    btw: i dont know if all those custom-markers get the class: gmnoprint
    but if you want this image an alternative to the bubble you can get rid of click event by:

    .gmnoprint {
        pointer-events: none;
    }
    in reply to: Delete something from Class section #859577

    alltough i do not see your site – it might be the best way this could be your code her (dont know if document ready function is needed)
    maybe you can use your own class: mitglied-tab

    so here is my code for your functions.php of your child-theme

    insert your page id:

    function my_fixed_tab() {
    if( is_page(600) ) {
    ?>
     <script type="text/javascript">
    	jQuery(document).ready(function() {  
             jQuery( ".mitglied_tab" ).removeClass( "fullsize" ) 
         });
    </script>
    <?php
    }
    }
    add_action('wp_footer', 'my_fixed_tab', 20);
    in reply to: Special Header for a similar website #859521

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

    click the images to enlarge
    first of all if you do not need the shrinking option it is not so complicated as it seems
    Insert as usual a logo to the enfold options.

    you have to go to dashboard – appearance – menus

    insert a home link. On top right of the dashboard window – there is a slide out option called “Screen Options” Press it.
    Here you have some settings. Please mark the css classes.

    If you click on those littel arrows besides the menupoints you can insert different things now:

    On Navigation label you can insert the image link now something like:
    <img src="https://url.com/logo-top.png" alt="Logo" />
    On css classes : logoimg
    You only are in the midpoint if you have odd number of menupoints.
    We now have to get rid of the logo container
    Quick css:

    .logo, .logo a { display: none }
    .logoimg img { width: auto ; max-height: 172px }
    .container.av-logo-container { position: absolute }
    .logoimg .avia-menu-fx { display: none }
    #av-burger-menu-ul li:nth-child(4) { display: none }

    the last rule is to have not the menu-point on burger menu
    you have to count what menu-point is your logo (here it is on 4th position of the menu)

    and to have the normal logo on responsive case:

    @media only screen and (max-width: 768px){
    .container.av-logo-container { position: relative }
    .logo, .logo a { display: block }
    }

    ___________________
    with shrink option :

    we have to use the function avia_header_size() of avia.js
    the code to see is on pastebin: look
    download it as js file: download

    you see on line 61 (original it is 1551 on avia.js) of my code that i get rid of the not mobile option.
    i set on line 47 : navlogo = $('.logoimg img'), and
    on line 92 i added this code: navlogo.css({'maxHeight': 1.72*newH + 'px'});

    these values you can play with. I have on my testinstallation a 100px custom height of the header
    my logo is 172px hight – so my factor here is 1.72

    upload that menu_logo.js file to your child-theme js-folder (create a subfolder in childtheme called : js
    loading the script above in enfold open your functions.php via dashboard – appearance – editor and insert:

    function include_menulogo() {
       wp_enqueue_script( 'avia-main-child', get_stylesheet_directory_uri().'/js/menu_logo.js', array('jquery', 'avia-default'), 2, true );
    }
    add_action( 'wp_enqueue_scripts', 'include_menulogo', 100 );

    now the “logo” of your menu shrinks on scrolling.

    • This reply was modified 7 years, 1 month ago by Guenni007.
Viewing 30 posts - 8,641 through 8,670 (of 10,920 total)