Forum Replies Created
-
AuthorPosts
-
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 modLast advice: try a plugin like https://de.wordpress.org/plugins/use-any-font/
are you able to copy&paste ?
can you please test it with absolut paththis 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 8 years ago by
Guenni007.
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-themefunction admin_head_mod() { echo '<style type="text/css"> .avia_reset {pointer-events: none !important } </style>'; } add_action('admin_head', 'admin_head_mod');
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 url2) 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) { }
if you have no child-theme the best place maybe for it the custom.css
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 ?
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 elementi 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 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
see private content
-
This reply was modified 8 years ago by
Guenni007.
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 allI 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 8 years ago by
Guenni007.
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 timinghm – i can see the font on nearly all letters.
except the logo :lol
so clear all cache options (browser etc.)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 8 years ago by
Guenni007.
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 !Ok – then I wish you all the best and an understanding customer.
Good lucki seems not to be so urgent.
this is unusual – because i think it is on default install activated.
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 8 years ago by
Guenni007.
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-themefunction 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?
October 4, 2017 at 3:08 pm in reply to: Appreciate tipps on how to hook onto Enfolds Google Maps Element #860159yes 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
October 4, 2017 at 7:53 am in reply to: Settings Masonry Portfolio Example: 4 Column Masonry Grid #859956the 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 titlesaha 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
October 3, 2017 at 10:42 pm in reply to: Id scroll not working in Safari / Icon color Safari #859808No – erase the cache!
copy / past it to your url window:
chrome://settings/clearBrowserData
October 3, 2017 at 10:35 pm in reply to: Id scroll not working in Safari / Icon color Safari #859805the 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: #f6a800and why can i see your testsite working?
https://www.westend.com/shopping/savile-row/alexander-mcqueen/#category-mapdid you empty your caches ! (Browser Cache and if used minify or super cache plugins cache)
https://webers-testseite.de/googlemap/
-
This reply was modified 8 years ago by
Guenni007.
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)
or you use a google font instead : i think ropa is very nearby the DIN Font
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; }
-
This reply was modified 8 years ago by
-
AuthorPosts