Forum Replies Created
-
AuthorPosts
-
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, 2 months 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/clearBrowserDataOctober 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/#priserbut the real link should be:
http://www.sudersand.se/vara-boenden/stugbyn/familjestuga-4-baeddar/#priserso 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, 2 months 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; }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-tabso 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);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: downloadyou 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.72upload 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 8 years, 2 months ago by
Guenni007.
the animation now is only a css transition.
Could be easy done.let it open i – will post it here. But today i have to go to a 50th birthday – Tomorrow on Germany is a holiday – so i got a bit more time.
Something on pre info:
This is not the logo inbetween the menus – it is a manually link placed with an image on the place where i want to have it.
i set the logo to display none on media querrie for larger screens 768 or 990.
I do use the shrink option of the logo to calculate the img height of that link.ok i got it:
you have to put in the absolute path to the content dir:define("WP_CONTENT_URL", "http://static.domain.com"); define('WP_CONTENT_DIR', '/absolute path/wp-content'); define("COOKIE_DOMAIN", "http://www.domain.com");now only some files from wp-includes are shown as “use cookie free domains”
YSlow rank D 65% it is better than F 0%i’m working on it.
give those menus an overflow : auto and a concrete height (f.e. 60vh means 60% of screenheight) or as code shown a calculated height
I have this sometimes to do on mega-menus that have a second, third row i gave in this case to the mega-menu:#header .avia_mega_div { overflow: auto !important; max-height: calc(100vh - 80px); }i can not see your site – i’m participant too – so i can not give you the code which works for you
supposed it is working:
.avia-menu .sub-menu { overflow: auto !important; max-height: calc(100vh - 80px); }or test this:
#top #header ul:first-child >li > ul { overflow: auto !important; max-height: calc(100vh - 80px); }the 80 px depends on your header height
October 1, 2017 at 12:54 pm in reply to: How to remove Fullscreen Slider Text Black Transparent Background #858896well you could use this in english for “background, backdrop, back, ground, backcloth” too
so – indeed it is a frame tooyou can insert instead of a lightbox a manually link : create your 3 images besides in a photo program and upload that (or make a screenshot of the gallery and upload that to your server) give each of the three images that manually link!
Enfold recognises the image and if modal is activated (it is on default) it opens those links as lightbox aswell.
October 1, 2017 at 12:28 pm in reply to: How to remove Fullscreen Slider Text Black Transparent Background #858888hm – you mean in full-screen sliders ? those titles have the options that you desired.
Because you are not questioning for a globally solution – i think you did not recognizes that there is on alb element an option to do this:Click on the slide Image you mentioned – a modal window opens with the options – on second tab besides the slide there is the description (Caption) tab.
the Rest you can see in the image – click to enlarg:The headings without your background are those with no frame ! on text-positioning option
yes first option behind video link (v=…) has to be a
?all the others have to be added by&September 30, 2017 at 10:14 am in reply to: Optimizing pictures on the homepage (losing speed). #858740this is the concerning code in functions.php (parent theme):
$avia_config['imgSize']['widget'] = array('width'=>36, 'height'=>36); // small preview pics eg sidebar news $avia_config['imgSize']['square'] = array('width'=>180, 'height'=>180); // small image for blogs $avia_config['imgSize']['featured'] = array('width'=>1500, 'height'=>430 ); // images for fullsize pages and fullsize slider $avia_config['imgSize']['featured_large'] = array('width'=>1500, 'height'=>630 ); // images for fullsize pages and fullsize slider $avia_config['imgSize']['extra_large'] = array('width'=>1500, 'height'=>1500 , 'crop' => false); // images for fullscrren slider $avia_config['imgSize']['portfolio'] = array('width'=>495, 'height'=>400 ); // images for portfolio entries (2,3 column) $avia_config['imgSize']['portfolio_small'] = array('width'=>260, 'height'=>185 ); // images for portfolio 4 columns $avia_config['imgSize']['gallery'] = array('width'=>845, 'height'=>684 ); // images for portfolio entries (2,3 column) $avia_config['imgSize']['magazine'] = array('width'=>710, 'height'=>375 ); // images for magazines $avia_config['imgSize']['masonry'] = array('width'=>705, 'height'=>705 , 'crop' => false); // images for fullscreen masonry $avia_config['imgSize']['entry_with_sidebar'] = array('width'=>845, 'height'=>321); // big images for blog and page entries $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1210, 'height'=>423 ); // images for fullsize pages and fullsize slider $avia_config['imgSize'] = apply_filters('avf_modify_thumb_size', $avia_config['imgSize']); $avia_config['selectableImgSize'] = array( 'square' => __('Square','avia_framework'), 'featured' => __('Featured Thin','avia_framework'), 'featured_large' => __('Featured Large','avia_framework'), 'portfolio' => __('Portfolio','avia_framework'), 'gallery' => __('Gallery','avia_framework'), 'entry_with_sidebar' => __('Entry with Sidebar','avia_framework'), 'entry_without_sidebar' => __('Entry without Sidebar','avia_framework'), 'extra_large' => __('Fullscreen Sections/Sliders','avia_framework'), );you see that there is allready an image size which could fit for your site (see comment: // images for portfolio 4 columns) – but it is not selectable ( portfolio_small)
so maybe that is enough to make it selectable:add_filter( 'image_size_names_choose', 'my_custom_sizes' ); function my_custom_sizes( $sizes ) { return array_merge( $sizes, array( 'portfolio_small' => __( 'Portfolio Small' ), ) ); }September 30, 2017 at 8:32 am in reply to: Optimizing pictures on the homepage (losing speed). #858711you can add new image sizes on enfold by this code in functions.php of your child-theme:
add_image_size( 'new-size', 261, 174, true ); add_filter( 'image_size_names_choose', 'my_custom_sizes' ); function my_custom_sizes( $sizes ) { return array_merge( $sizes, array( 'new-size' => __( 'New Size' ), ) ); }this part here:
__( 'New Size' ),you can name as you likeall new uploaded images will then have that new size to choose – if you only want these three images on the starting page to handle then a new upload is easier than a regenerate thumbnail plugin.
without your site i can not help you. So you have to wait here for a mod.
And you copy paste the above code? Do you have any other lightbox plugin installed – or do you use the included one of enfold?btw. it seems that the sequence of these options are sometimes important.
maybe a
&fs=0could help you in the link above (Fullscreen disabled)https://www.youtube.com/watch?v=igoj_-02i1c?rel=0&autoplay=1&loop=1&showinfo=0&fs=0&iframe=truedon’t know why the loop function works sometimes and sometimes not ?
btw: if you like to force HD video
&vq=hd720
&vq=hd1080https://www.youtube.com/watch?v=igoj_-02i1c?rel=0&autoplay=1&loop=1&vq=hd720&showinfo=0&iframe=truelook here for link : https://www.classynemesis.com/projects/ytembed/
-
This reply was modified 8 years, 2 months ago by
-
AuthorPosts




