-
Search Results
-
Hi,
I use WPML for a multi language site and I have a strange problem on a mobile with selecting a language.
When I click on the language buttons nothing happens.See https://bergjeths.com on a mobile device. On a desktop it works fine.
I use the following custom css code:/* WPML Flags Country Code */ li.menu-item.menu-item-language.menu-item-language-current.dropdown_ul_available, #header_meta ul.avia_wpml_language_switch.avia_wpml_language_switch_extra,.language_flag img {display: none !important;} .header_color li.language_en.avia_current_lang span.language_code {text-decoration: underline; color: #ffffff !important;} .header_color li span.language_code {color: #ffffff !important; display: block !important; text-transform: uppercase; font-size: 16px; font-weight: normal; font-family: 'Exo', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;} #top ul.avia_wpml_language_switch li {margin: 0; padding: 0 5px; border: none; border-left: 1px solid #ffffff; height: 14px;} #top ul.avia_wpml_language_switch li:first-child {border-left: none;} #top ul.avia_wpml_language_switch li a {position: relative; top: -12px;} #top ul.avia_wpml_language_switch.avia_wpml_language_switch_extra {position: absolute; top: 82px;} #top .header-scrolled ul.avia_wpml_language_switch.avia_wpml_language_switch_extra {position: absolute; top: 15px;} .avia-menu.av-main-nav-wrap {margin-right: 130px;} /* WPML Flags Country Code */ @media only screen and (max-width: 990px) { #header_main_alternate { display: block !important; border: none !important; } #top ul.avia_wpml_language_switch.avia_wpml_language_switch_extra {position: absolute; top: 0px;} }and the following PHP code in function.php:
add_action('after_setup_theme','avia_remove_main_menu_flags'); function avia_remove_main_menu_flags(){ remove_filter( 'wp_nav_menu_items', 'avia_append_lang_flags', 20, 2 ); remove_filter( 'avf_fallback_menu_items', 'avia_append_lang_flags', 20, 2 ); remove_action( 'avia_meta_header', 'avia_wpml_language_switch', 10); } add_action('init', 'avf_add_flags'); function avf_add_flags() { add_action( 'ava_inside_main_menu', 'avia_wpml_language_switch', 10); } add_action('init','ava_remove_lang_flags', 9999); function ava_remove_lang_flags() { remove_filter( 'wp_nav_menu_items', 'avia_append_lang_flags', 9998, 2 ); remove_filter( 'avf_fallback_menu_items', 'avia_append_lang_flags', 9998, 2 ); remove_action( 'avia_meta_header', 'avia_wpml_language_switch', 10); add_action('avia_after_footer_columns', 'avia_wpml_language_switch', 10); }I also use a widget area in the header with following code in functions.php:
add_action( 'ava_after_main_menu', 'enfold_customization_header_widget_area' ); function enfold_customization_header_widget_area() { dynamic_sidebar( 'header' ); }Can you help me out on this or point me in the right direction?
THX FreekWhen I minimize the page site the header menu won’t adapt and partly overlays my logo. Normally it is supposed to change into a burger menu way earlier so there is no overlapping.
Also I can’t change the color of the font in the menu.
I hope you can help me
ThanksHi, how can I increase the font size of the masonry filter options?
Hi
I am having trouble with the font size not being responsive on tablet and mobile. I need it to be smaller.
I have searched the forum and see that it is possible to insert CSS codes to fix it, but I can’t find any that works. I want the logo, menu and all text to be responsive for tablet and smartphones. I am not experienced with CSS coding but I have been told that it is best to use the additional CSS field for these changes. If there is an easier/better way to do it then please let me know. The layout is responsive, so it is just the text, logo and menu.I am also having problems with the menu layout on the mobile version. When I click on the burger menu the menu items are barely visible as they are displayed as white text on white background. How can I change this?
Thank you.
Hi, how can I make the font size for the breadcrubms do be the same as the size for the title?
Thanks.
Topic: Custom Tabs element tweaks
Hi, how can I increase the font size of the active tab title text?
Hello,
i was embeding an html code from just answers (https://www.justanswer.com) for a question window.
I used the code block element – after refresh the backend all layout elements was deleted.
Do you have any experience with (https://www.justanswer.com) or do you know another way to embed the html with no risk?
Here ist de code – maybe it helps:
<div style=”position:relative;margin:auto;cursor:default;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;width:300px;height:250px;overflow:hidden;background-image:url(http://gadgets.justanswer.com/ja/assets/2015gadget_BG.jpg);”><div id=”headline__justanswer__” style=”position:absolute;left:14px;top:10px;width:272px;height:32px;font-family:Arial Black,sans-serif;color:#ffffff;line-height:110%;text-align:left;”>Fragen Sie jetzt einen Arzt</div><div id=”tagline__justanswer__” style=”position:absolute;left:14px;top:40px;width:272px;height:48px;font-family:Arial,sans-serif;color:#ffffff;line-height:130%;text-align:left;”>12 Ärzte sind gerade online.<br/>Alle 9 Sekunden wird eine Frage beantwortet!</div><form style=”margin:0;padding:0;background-color:transparent;display:inline;” id=”frm__justanswer__” target=”_blank” method=”POST” onsubmit=”go__justanswer__(this);return false;”><input id=”fid__justanswer__” type=”hidden” value=”” name=”fid” /><input id=”question__justanswer__” type=”hidden” value=”” name=”question” /><input id=”refid__justanswer__” type=”hidden” value=”” name=”refid” /><input id=”tpath__justanswer__” type=”hidden” value=”” name=”tpath” /><textarea id=”input__justanswer__” placeholder=”Geben Sie hier Ihre Frage ein…” style=”position:absolute;left:20px;top:85px;width:260px;height:100px;font-family:Arial,sans-serif;color:#000000;font-size:13px;text-align:left;border:none;background-color:#ffffff;”></textarea></form><div id=”__justanswer__button” style=”cursor:pointer;position:absolute;white-space:nowrap;right:12px;top:206px;height:32px;” onclick=”go__justanswer__();”><div style=”position:absolute;right:0;height:31px;”><div style=”position:absolute;right:7px;top:0;height:31px;background-repeat: norepeat;background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAnCAYAAADdN2JWAAAD8GlDQ1BJQ0MgUHJvZmlsZQAAOI2NVd1v21QUP4lvXKQWP6Cxjg4Vi69VU1u5GxqtxgZJk6XpQhq5zdgqpMl1bhpT1za2021Vn/YCbwz4A4CyBx6QeEIaDMT2su0BtElTQRXVJKQ9dNpAaJP2gqpwrq9Tu13GuJGvfznndz7v0TVAx1ea45hJGWDe8l01n5GPn5iWO1YhCc9BJ/RAp6Z7TrpcLgIuxoVH1sNfIcHeNwfa6/9zdVappwMknkJsVz19HvFpgJSpO64PIN5G+fAp30Hc8TziHS4miFhheJbjLMMzHB8POFPqKGKWi6TXtSriJcT9MzH5bAzzHIK1I08t6hq6zHpRdu2aYdJYuk9Q/881bzZa8Xrx6fLmJo/iu4/VXnfH1BB/rmu5ScQvI77m+BkmfxXxvcZcJY14L0DymZp7pML5yTcW61PvIN6JuGr4halQvmjNlCa4bXJ5zj6qhpxrujeKPYMXEd+q00KR5yNAl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lc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyI+CiAgICAgICAgIDx0aWZmOkNvbXByZXNzaW9uPjE8L3RpZmY6Q29tcHJlc3Npb24+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgICAgIDx0aWZmOlBob3RvbWV0cmljSW50ZXJwcmV0YXRpb24+MjwvdGlmZjpQaG90b21ldHJpY0ludGVycHJldGF0aW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KAtiABQAAAOBJREFUOBGNVEEOwjAMS6PcOCK+wYVHIfFTngIHfrAGJwOJA3USadM0u6njehv369Hdh7Cy8+kgBUfM0SIuViaKrXwyjuj0jRICVBcuOkgm0yFc43lZmpqW8A6Yx2iDz2fBTeK+6O+di/ksSTP/Lv95CU1cT3Cb2+Xp8m42Bz+3/nbBrLRjuoGzqzRF5IpWFrK1iEuaOQfPlIVNSFToX5ZB9hL8AhkVhJMWPgSKJ9g74NnQ1OrUItkG4RUTOHc7xtt9KojwqTZKFb+Mqix+c5VXyFOj0/O11fG9PS6QxJ16AypPSjlehr1jAAAAAElFTkSuQmCC);”>
<div id=”button_text__justanswer__” style=”display:inline-block;position:relative;top:0.1em;font-family:Arial,sans-serif;color:#ffffff;text-align:center;white-space:nowrap;line-height:100%”>Antwort erhalten</div></div>
</div></div></div>
<script>
//<!–
(function() {var _gel__justanswer__ = function(id) {
return document.getElementById(id);
};var getArgs = function() {
var params = {};
var paramString = window.location.search.substring(1);
if (paramString) {
var pairs = paramString.split(‘&’);
for (var i = 0; i < pairs.length; i++) {
var p = pairs[i].split(‘=’);
var paramval = ”;
var decodedName = decodeURIComponent(p[0]);
if (decodedName.length > 0) {
if (p.length > 1) {
paramval = decodeURIComponent(p[1]);
}
params[decodedName] = paramval;
}
}
}
return params;
}
var args = getArgs();var fitText = function(node) {
var fsz = 30;
if (node) {
do {
node.style.fontSize = (–fsz) + ‘px’;
} while (fsz > 12 && (node.scrollHeight > node.clientHeight || node.scrollWidth > node.clientWidth));
}
return fsz;
};var landing_page = ‘http://www.justanswer.de/gadget-landing.aspx?r={REFID}&FID={FID}&TP={TPATH}JPRC=1&JPAF=gadget&question={QUESTION}’;
var landing_page_noq = ‘http://www.justanswer.de/medizin/’;var go__justanswer__ = function(frm) {
var args = getArgs();
// get question value
var question = ”;
var inp = document.getElementById(‘input__justanswer__’);
if (inp) {
question = (inp.value || ”).substr(0, 1024);
}// get selection value
var forum = ‘135’ || ‘6’;
var sel = document.getElementById(‘selection__justanswer__’);
if (sel) {
if (sel.selectedIndex >= 0) {
forum = sel.options[sel.selectedIndex].value;
}
}var url = (question ? landing_page : landing_page_noq);
url = url.replace(‘{FID}’, forum);
url = url.replace(‘{REFID}’, ‘JAPPC’ || ”);
url = url.replace(‘{TPATH}’, ‘tech.300×250’ || ”);if (question && url.indexOf(‘{QUESTION}’) < 0) {
url += ‘&question={QUESTION}’;
}
url = url.replace(‘{QUESTION}’, encodeURIComponent(question));if (‘<mpvc/><mpck/>’ != (‘<mp’ + ‘vc/><mp’ + ‘ck/>’)) {
url = ‘<mpvc/>http://<mpck/>?mpre=’ + encodeURIComponent(url);
} else if (‘http://trk.justanswer.com/aff_c?offer_id=14&aff_id=6956&file_id=434’ != (‘{tracki’ + ‘ng_link}’)) {
url = ‘http://trk.justanswer.com/aff_c?offer_id=14&aff_id=6956&file_id=434&url=’ + encodeURIComponent(url);
}
// do it again in case the tracking page needs it
url = url.replace(‘{QUESTION}’, encodeURIComponent(question));
url = url.replace(‘{FID}’, forum);
url = url.replace(‘{REFID}’, encodeURIComponent(‘JAPPC’) || ”);
url = url.replace(‘{TPATH}’, ‘tech.300×250’ || ”);
console.log(‘landing_page: ‘ + url);frm = frm || document.getElementById(‘frm__justanswer__’);
if (!frm) {
location.href = url;
} else {
(document.getElementById(‘question__justanswer__’) || {}).value = (document.getElementById(‘input__justanswer__’) || {}).value;
(document.getElementById(‘fid__justanswer__’) || {}).value = forum;
(document.getElementById(‘refid__justanswer__’) || {}).value = ‘JAPPC’;
(document.getElementById(‘tpath__justanswer__’) || {}).value = ‘tech.300×250’;
frm.target = ‘_blank’;
frm.action = url;
frm.submit();
}
};
var load_script = function(script_url) {var script = document.createElement(‘script’);
script.type = ‘text/javascript’;
script.charset = ‘UTF-8’;
script.src = script_url;
var head = (document.getElementsByTagName(‘head’)[0] || document.documentElement);
head.insertBefore(script, head.firstChild);
console.log(‘brandaware: ‘ + script_url);
};var script_url = ”;
script_url = ‘http://just-answer-hrd.appspot.com/ac?’;
script_url += ‘&uq=’ + encodeURIComponent(‘__justanswer__’);
script_url += ‘&sz=’ + encodeURIComponent(‘300×250’);
script_url += ‘&topic=’ + encodeURIComponent(‘tech’);
script_url += ‘§ion=’ + encodeURIComponent(” || ‘dd’);
script_url += ‘&lang=’ + encodeURIComponent(” || ‘en’);// signals
script_url += ‘&s0=’ + encodeURIComponent(” || ‘0’);
script_url += ‘&s1=’ + encodeURIComponent(” || ‘0’);
script_url += ‘&s2=’ + encodeURIComponent(” || ‘0’);
script_url += ‘&s3=0’; // nosip: true for pearl only
script_url += ‘&s4=0’; // + encodeURIComponent(”);
script_url += ‘&s5=0’; // + encodeURIComponent(”);
script_url += ‘&s6=0’; // + (it.style.display != ‘none’ ? 1 : 0);
script_url += ‘&s7=0’; // + encodeURIComponent(”);try {
script_url += ‘&site_domain=’ + encodeURIComponent(document.domain);
script_url += ‘&title=’ + encodeURIComponent(document.title || ”);
script_url += ‘&site=’ + encodeURIComponent(top.location.hostname);
} catch(err) {
}var site_url = ”;
try {
site_url = (args[‘site_url’] || top.location.href || ”);
} catch(err) {
site_url = ‘http://’ + document.domain || ”;
}
script_url += ‘&urid=’ + encodeURIComponent(‘contextual’);
script_url += ‘&cid=’ + encodeURIComponent(site_url.substr(0, 1024));load_script(script_url);
fitText(document.getElementById(‘headline__justanswer__’));
fitText(document.getElementById(‘tagline__justanswer__’));window.textFits__justanswer__ = function(){};
window.rightSize__justanswer__ = function(){};
window.go__justanswer__ = go__justanswer__;
window._gel__justanswer__ = _gel__justanswer__;
window.boot__justanswer__ = function(o) {if (o[‘headline’]) {
var node = _gel__justanswer__(‘headline__justanswer__’);
if (node) {
node.innerHTML = o[‘headline’];
fitText(node);
}
}if (o[‘tagline’]) {
var node = _gel__justanswer__(‘tagline__justanswer__’);
if (node) {
node.innerHTML = o[‘tagline’];
fitText(node);
}
}if (o[‘destination_url’]) {
//landing_page = o[‘destination_url’];
}
};
})();
// –>
</script>Thank you for helping!
Hi,
I have 2 questions:1) I want to Make a portfolio like here:
https://www.wix.com/demone2/art-directorWhat I did was to use the portfolio module, and set it’s settings to:

My only problem is that my images height is not the same.
Do I have to use images with the same dimensions or is there a way in the settings or by using CSS to do it?
2) Is there a way to load custom fonts to the template, so it will know of it’s existing the Theme settings page?
Thanks.
Topic: Drop down menu font size
I think this is referred to as the Main Menu sublevel links in Advanced Styling. How can I change this via CSS and not through Advanced Styling? Thank you!
Topic: Page refresh
HI. I have a problem with the refresh of the page, if I change the color, size, font or something else and reload the page nothing happens. For anything to happen, I must insert text or an element on the page and update it.
Hi,
I tried to reduce the line-height of the job title team member with this css… But it does’nt work.
The font size for the member name works well. But the font-size and line-height for the job-title, not..team-member-name { font-size: 18px; }
.team-member-job-title { font-size: 12px; line-height:1; }I also try this one… Not working too.
.team-member-name { font-size: 18px; }
.team.avia-team-member .team-member-job-title { font-size: 12px; line-height:1; }Thanks.

