Hello,
I am trying to add a clickable logo to my sub-menu. I followed the instructions here: https://kriesi.at/support/topic/link-background-image-logo-in-full-width-sub-menu/#post-736379
However, I’m struggling with its styling. Before changing the CSS per the thread mentioned above, I had it styled as I wanted with the following CSS (the issue was that the image wasn’t clickable with this):
#top .av-submenu-container {
background-image: url(https://ntstaging6.sg-host.com/wp-content/uploads/2024/07/SMPC_NoTag-01.webp);
background-repeat: no-repeat;
background-position: 2% 50%;
background-size: auto 70px; /* Maintain aspect ratio by setting the width to auto */
position: relative; /* Ensure the link covers the entire container */
}
Can you please help me modify the CSS in the thread mentioned above so it yields the look I am trying to obtain?
Thank you.
-James
But I created the menu, the only thing is, on the home page you can’t see me at the top. I can only view the menu by scrolling the page. Isn’t there a button, and/or an item within the site, perhaps in the general settings, that prevents me from scrolling the page to see the menu?
Hi,
Great, I’m glad that Ismael could help you out. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
Hi,
Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
Hi,
Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
Hi there,
I would like to play a self-hosted video in the full screen slider.
Unfortunately, the video is muted in the desktop output and no controls (volume) are visible in the mobile outputs.
The specified plugin on Github.com is unfortunately no longer available.
What can I do?
Kind regards
Hi,
When I check it looks centered, perhaps try adjusting the numbers in the css above so the items are not so crowded, or move the logo with this css:
#content2 .logo {
top: 100px;
}
use either positive or negative numbers. Unfortunately now that the items are being moved around there is not a way to make them keep the same px distance between all, so try to adjust these numbers until you like what you see.
Best regards,
Mike
Hallo,
I have integrated the iFrameResizer script by David J. Bradshaw on this page so that the content of the iFrame is automatically adjusted.
https://stadtrundfahrt-hansestadt-hamburg.de/tickets-buchen-raster-test/
Now I am not a JavaScript expert and I don’t know if you know the problem and can help me.
I’ll ask anyway.
What I don’t understand is: why doesn’t the resizer use the same space in width as the grid row above it?
Do you have any ideas? Do I have to integrate other js-scripts?
This is the code used for integration
<script type="text/javascript" src="/wp-content/files/js/iframeResizer.js"></script>
<script type="text/javascript">
function resizeId(){
var iframe = document.querySelector('#palisis')
iframe.style.width = iframe.parentElement.clientWidth + 'px';
}
</script>
<iframe id="palisis" src="https://top-tour-hamburg.palisis.com/" style="width:100%; border:none"></iframe>
<script>
iFrameResize({checkOrigin:false, heightCalculationMethod: 'taggedElement'}, '#palisis');
</script>
In the original the display is much larger:
https://top-tour-hamburg.palisis.com/
On this example website from Palisis other /several js scripts are included.
https://gregor.palisis.com/?offer-direct=r-5290
Could this be the reason?
Thanks for supporting me.
Do you have a working example for me perhaps?
Stefan
-
This topic was modified 1 year, 7 months ago by
steridhh.
-
This topic was modified 1 year, 7 months ago by
steridhh.
-
This topic was modified 1 year, 7 months ago by
steridhh.
-
This topic was modified 1 year, 7 months ago by
steridhh.
-
This topic was modified 1 year, 7 months ago by
steridhh.
Hey schweg33,
Thank you for the inquiry.
You can add this css code to display the search text beside the icon on mobile view:
@media only screen and (max-width: 767px) {
/* Add your Mobile Styles here */
#top .avia_hidden_link_text {
display: inline;
margin-left: 5px;
}
}
Best regards,
Ismael
Hey Leeonella,
Thank you for the inquiry.
We may need to inspect the site in order to properly check the issue. Please provide the login details in the private field. In the meantime, you can try this script in the functions.php file:
// script to scroll to the active tab section
function ava_custom_script_tab_section_scroll() {
?>
<script type="text/javascript">
(function($) {
function avTriggerScrollToTab(selector, event) {
$(selector).on(event, function() {
var isLoadEvent = event === 'load';
var locationHash = isLoadEvent ? window.location.hash : $(this).attr('href');
var hash = isLoadEvent ? locationHash : locationHash.substring(locationHash.indexOf('#'));
var tab = $('.av-section-tab-title[href="' + hash + '"]');
var parentContainer = tab.closest('.av-tab-section-outer-container');
if (tab.length && parentContainer.length) {
var position = parentContainer.offset().top;
tab.trigger('click');
if (hash) {
setTimeout(function() {
$('html, body').animate({ scrollTop: position - 100 }, 500);
}, 300);
}
}
});
}
$(document).ready(function() {
var tabs = $('.av-tab-section-container');
if (tabs.length === 0) return;
avTriggerScrollToTab('.menu-item a', 'click');
avTriggerScrollToTab(window, 'load');
});
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'ava_custom_script_tab_section_scroll', 9999);
Best regards,
Ismael
Hi,
Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
Hi
Sorry for the late reply.
You asked for a real case, so here’s the answer.
Please check the problem.
sample URL : http://kcern.org/book/
error message : korean “업데이트 실패. 응답이 유효한 JSON 응답이 아닙니다.”
When I enter additional bolcks for new books after the “Digital Power 2021” block at the very end of http://kcern.org/book/, the update does not work and a message in Korean appears at the top of the page saying “Update failed. The response is not a valid JSON response.”
I can no longer configure the page. I can’t create a page with long content.
The link to the page I sent you now is for testing purposes only. You can modify it as you wish. Please help me.
Hi,
Using Yith booking and end up with 2 check boxes on page https://myjapanguide.com/booking/mount-fuji-tour.
I’d like to get read of the blue one. Tried many things like
#top input[type=”checkbox”] {
display: hidden;
}
which woks with the inspector tab but not with Additional CSS
Any idea.
Thank you.
Xavier
Hello,
Can you get me CSS code to add Text Shadow for the Headline Rotator and Special Heading(H3) at the top of the Home page?
Thanks
OK, after pulling all my hair out multiple times, we went in a slightly different direction. For anyone else stumbling across this post, check out my other ticket to see our solution:
https://kriesi.at/support/topic/have-sub-menu-replace-header/#post-1465440
You can close this ticket.
Thank you
-James
Thank you, Ismael for your comment. This isn’t exactly what I had in mind but it got the juices flowing.
I ended up writing a script that removes the header on scroll. If anyone else is interested in doing so, just paste this into your child’s PHP file. Of note, I am only applying this to the homepage and desktop devices.
/* FADE HEADER BASED ON SCROLL DEPTH */
function add_hide_header() {
if (is_front_page()) { // Check if it's the homepage
?>
<script>
jQuery(window).scroll(function(){
if (window.innerWidth > 1024) { // Only apply on screens wider than 1024px (desktop)
var scrollTop = jQuery(this).scrollTop();
// Fade out the header when scroll depth is more than 1px
if (scrollTop > 1) {
jQuery('#header_main').fadeOut(500); // at a speed of .5 seconds
}
// Fade in the header when scroll depth is less than 200px
else if (scrollTop < 200) {
jQuery('#header_main').fadeIn(500); // at a speed of .5 seconds
}
}
});
</script>
<?php
}
}
add_action('wp_footer', 'add_hide_header');
You can close this case.
I appreciate your help.
-James
Hi,
When I check your site at 1536 x 864, that you wrote was your screen size, but I don’t see the menu over the logo:

To switch the two icons try this css
.av-burger-menu-main.menu-item-avia-special {
top: -120px;
}
#menu-item-search {
top: 100px;
}
You can also adjust the values and perhaps keep the icons away from the logo
Best regards,
Mike
Hi,
Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
Hi,
Great, I’m glad that Mike could help you out. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
Hi,
Great, I’m glad that Ismael could help you out. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
Hi,
Great, I’m glad that you found the cause of the problem. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
Hello,
With reference to the two WordPress posts that are listed in the private content (with passwords), you will see a red line on the right side of the screen when viewing the posts on a laptop or desktop. The line does NOT appear when viewing the posts on the phone.
When editing the pages, we cannot find why the line should appear.
How can we eliminate the line?
Thanks.
Thank you.
Unfortunately with the CSS sent to me, everything moves to the right.
I would like to move only the part containing the image and the UCB copyright. Is there a way?
I tried inserting this string of code, but it doesn’t move it to the right of the desktop: <p align=right> INFO </p>
Hope you can help me
Hi,
You are welcome. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
HI
I am trying to control my link and hover color.
I have this css:
#top .av_inherit_color a:hover {
color: #a451f6!important;
}
#top .av_inherit_color a {
color: #9e80ef!important;
}
but the hover color is not working on parts of the site.
These colors are also set in the general styling area.
It’s fine in the footer but not in the page texts.
thanks for your help
Nancy
-
This topic was modified 1 year, 7 months ago by
Munford.
Hey laptophobo,
Thank you for the inquiry.
Have you tried using the Image element’s Custom Field Image option? You can use the {wp_custom_field:_thumbnail_id} placeholder to automatically fetch the ID of the featured image. Please check the link below:
// https://kriesi.at/documentation/enfold/custom-layout-and-dynamic-content/
Best regards,
Ismael
Hi,
I have added code to my functions.php file to display only certain post types in my on-site search results page and it is working. But those excluded post types are still displaying in the ajax results. I read this thread but could not find the referenced file in my file manager. How can I either exclude certain post types or turn off the ajax? https://kriesi.at/support/topic/remove-or-fix-ajax-search-functionality/
Hi,
Thank you so much for all the help.
I cleared the cache on both the browser and the server.
Unfortunately, it didn’t work, now the menu is overlapping the logo.
https://img.savvyify.com/image/Screenshot-2024-08-28-182515.9QyRX
Also, is it possible for the search icon to be under the burger menu and not above it?
This is truly the last thing left, just for the search icon to show under the menu on the desktop
Thank you so much again for all the help/
Reut Rachel
HI
I am setting up a forum with bbpress and want it hidden in the menu for logged-out users.
The forums themselves are only visble to logged in members, and I set the main forum page
to private but I am still seeing it in the menu under LOGIN > FORUM.
How can I hide this?
Also – the forum pages themselves don’t have a title or heading at the top – how can I show the name of the forum at the top?
ethanks
Nancy
-
This topic was modified 1 year, 7 months ago by
Munford.
-
This topic was modified 1 year, 7 months ago by
Munford.
Hi,
You had incomplete CSS in Quick CSS:
#top.abadi b, #top.abadi strong {
font-weight: 400;
I fixed that for you, please review your site.
Best regards,
Rikard