zullimethod.com
This is my page, and i am trying to get ride of the menu from the pages that open in the light boxes from the Slider.
Any other pointers will be greatly appreciated.
Adderly,
]]>My intent with this page is to share it to other sites via an iFrame. To do so, I’ve included a Javascript that hides the header and nav when the page finds itself being served through an iFrame.
My problem is that even though the elements are hidden, the space they take up is still there. Here’s the same page as above being rendered through an iFrame:
https://igofox.com/active-living-feed-demo/
The white space between the logo and the parent site’s navigation is driving me mad… I’ve done this successfully with another website (using a different theme that I can’t use for this project). Any advice is GREATLY appreciated. I feel like I’m overlooking something incredibly obvious.
This is the JScript I’m using to hide the header elements:
<script type="text/javascript">
var isInIFrame = (window.location != window.parent.location);
if(isInIFrame==true){
document.getElementById('masthead').style.display = "none";
}
else {
}
</script>
The parent page is using the “Iframe Resizer” script to help make the framed content appear to be native to the parent.
An example of this working properly is here:
Content source:
https://inspirehealthmag.com/delta-county-independent-inspire-health/
Same content inside an iFrame:
https://igofox.com/delta-county-sample/
Sorry for the wordiness, jus trying to make sure I’ve covered everything of consequence. Thank you in advance!
]]>I would need to hide my navigation (top menu )on my homepage.
I managed to do so for the desktop version of the site, using this css:
.page-id-xxx #menu {
display: none;
}
However, on mobile the menu is still there ( right upper corner ), and I don’t find how to hide it there.
site:blissibiza.com
Thanks for all support
]]>Thanks
]]>How do you delete that previous/next post bar below post?
Apologies, I have went through the forum searching for an answer, and of course I found several possible solutions but none of them seem to work.
To be honest I have a loose interpretation of this website, but really am not familiar with .css
Any pointers on how to remove them?
https://www.petrest.com/replacement-nylon-training-collar/
Thanks!
]]><?php
/*
Template Name: Landing Page
*/
?>
<?php get_header(); ?><?php nectar_page_header($post->ID); ?>
<div class=”container-wrap”>
<div class=”container main-content”>
<div class=”row”>
<?php if(have_posts()) : while(have_posts()) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile; endif; ?>
</div><!–/row–>
</div><!–/container–>
</div>
<?php get_footer(); ?>
I need to know what code I insert to disable the menu.
I found this code but don’t know where to insert it:
.header {display:none;}
#navmenu {display:none;}
my site is teamrzrck.com and I use a the theme called Salient
]]>I have the landing page set to “hide navigation” under settings but when I log out and view the page, the menu bar is still visible.
https://www.lexingtonhealingarts.com/go/pft-landing-page-2/
https://www.ads-software.com/plugins/landing-pages/
]]>I have created a menu in a child theme which previously had no menu.
(it was just a one page bloggy thing) Adding the pages and then adding the menu in the functions.php and including it with wp_nav_menu.
Here is the site: https://www.lucigorellbarnes.co.uk/
I have set my homepage to be a static page template and other to blog. As is the norm.
So far so good.
What i would now like to be able to do is have the navigation i have created for the site to only display on internal pages, not on my static landing page (where the video resides.) I know i have to include a if is front page, else and endif somewhere, but i have tried literally hundreds of different ways, all of which either did nothing, broke the design or left me with a white page php parsing error.
at the moment i have something like this in the header (Do these statements go in the header on on the page you wish to exclude something?)
<!-- Start hide menu on front page -->
<?php if(!is_front_page()) : ?>
<-->nav container here<-->
<?php endif; ?>
<!-- End hide menu on front page -->
Is this any way near right? Do i need to be putting the code i don`t want to appear on my static home page in an else statement?
if someone could help with where and how the order in which the elements i want to hide go, i would be eternally grateful.
Regards
Marcus
]]>Thank in advance for any input!
Kelli