WordPress.org

Ready to get started?Download WordPress

Forums

My menu and background are suddenly missing on blog posts (5 posts)

  1. sethbockholt
    Member
    Posted 1 year ago #

    I am running the contrast theme, and haven't had any significant problems, until now. I noticed the other day though that suddenly the menu and background are missing on my blog post pages. I have disabled on plugin at a time to see if I could track down the problem, and nothing changed, so I don't think it that.
    Bockholt Landscape Architecture
    see the menu on the left of the home page, when you click on blogs on the blog page you still see the menu, then when you navigate to any of the posts, the menu and backgrounds are missing.
    Any help would be really appreciated

  2. linux4me2
    Member
    Posted 1 year ago #

    Well, you have more than one issue there.

    The background is missing because you need this code from the home page:

    <script type="text/javascript">
    					jQuery(function($){
    						$.supersized({
    							slide_interval		: 3000,
    							transition			: 1,
    							transition_speed	: 2000,
    							slide_links			: 'blank',
    							slides 				: [{image : 'http://www.bockholtlandscapearchitecture.com/wp-content/uploads/2012/07/night-terrace-optimized1.jpg'},{image : 'http://www.bockholtlandscapearchitecture.com/wp-content/uploads/2012/07/colorful-park-with-flowers-optimized1.jpg'},{image : 'http://www.bockholtlandscapearchitecture.com/wp-content/uploads/2012/07/pergola-optimized.jpg'},{image : 'http://www.bockholtlandscapearchitecture.com/wp-content/uploads/2012/07/garden-house-optimized.jpg'},{image : 'http://www.bockholtlandscapearchitecture.com/wp-content/uploads/2012/07/Classicpergola-optimized.jpg'},{image : 'http://www.bockholtlandscapearchitecture.com/wp-content/uploads/2012/07/stone-patio-with-fire-pit-optimized.jpg'}]
    						});
    					});
    				</script>
    
    				<div id="progress-back" class="load-item">
    					<div id="progress-bar"></div>
    				</div>
    
    							<div class="pattern pattern-02">&nbsp;</div>

    on all the pages that you want that background effect to be visible. I'm not familiar with that theme, but ordinarily, that means page.php and single.php in addition to index.php, I think.

    Your home page div with the class "content" also has a class called "transparent," which you probably need to have on all the pages, too.

    I do see the actual menu code on the individual blog pages when I look at the source code, the menus just don't show up all the time. There is a "display: none" for the class "navigation" on line 61 of your style.css that may or may not be involved. I'd try commenting it out temporarily to see if it solves the problem, and leave it if not. Either way, it looks like the menus not showing up on the individual blog pages may be a CSS or javascript-triggered CSS issue. I say that because when I disable javascript the menu code is still there, but the menus aren't visible on any page, including the home page. You may need to do some comparison between the pages where the menus do appear and those they do not to figure out the source. I'm not seeing any javascript errors.

  3. sethbockholt
    Member
    Posted 1 year ago #

    Thanks Linux4me2, perhaps i was too vague in my description of the background. The blog post pages do not, nor are they supposed to have the slideshow background. Instead they should each just have a static image.
    I have not been able to open any blog post that shows the menu. One thing i did notice last night that I thought was odd. When I am in wordpress, and i click "Preview Changes" the look like they are supposed to" Is that use full in diagnosing the problem?

  4. sethbockholt
    Member
    Posted 1 year ago #

    I found it! Your comment on the Javascript lead me to it. Int the sharing settings. I realized I was only including the sharing settings on blog posts, where the problem was limited to, so i checked it out and saw a box saying:
    Disable CSS and JS Advanced. If this option is checked, you must include these files in your theme manually for the sharing links to work.
    So i clicked it and saved changes and voila, my blogs look great again.

  5. linux4me2
    Member
    Posted 1 year ago #

    There you go! Excellent work.

Topic Closed

This topic has been closed to new replies.

About this Topic