So far, I liked to use the Reverie theme (latest version, 5.0) but I stumbled upon two problems :
– for some reason, when I try to make the theme responsive, the whole navigation menu disappears, leaving only the homepage link
– did anyone using this theme manage to activate the “sticky” function, in order to get the navigation menu always apparent ?
Thanks for your help
]]>This is the page template for my home page (where the footer is displaying properly):
<?php
/*
Template Name: Home
*/
get_header(); ?>
<!-- Start the main container -->
<div class="container" role="document">
<!-- Row for main content area -->
<div class="small-12 large-12 columns" id="content" role="main">
<?php /* Start loop */ ?>
<?php while (have_posts()) : the_post(); ?>
<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
<!-- Sliders are included in header.php. -->
<!-- Row for Home First Widget-->
<?php if ( dynamic_sidebar('HomeFirst') ) : else : endif; ?>
<!-- This is where the case studies go. -->
<!-- Row for Home Second Widget-->
<?php if ( dynamic_sidebar('HomeSecond') ) : else : endif; ?>
<!-- This is where the content from the WordPress Home page editor goes. -->
<div class="row">
<div class="entry-content">
<?php the_content(); ?>
</div>
</div>
<!-- Row for Home Third Widget-->
<?php if ( dynamic_sidebar('HomeThird') ) : else : endif; ?>
<!-- Row for Home Fourth Left Widget-->
<?php if ( dynamic_sidebar('HomeFourthLeft') ) : else : endif; ?>
<!-- Row for Home Fourth Right Widget-->
<?php if ( dynamic_sidebar('HomeFourthRight') ) : else : endif; ?>
<!-- Row for Home Fifth Right Widget-->
<?php if ( dynamic_sidebar('HomeFifth') ) : else : endif; ?>
</article>
<?php endwhile; // End the loop ?>
</div>
<?php get_footer(); ?>
And this is the code for a different page template (where the footer is not displaying at all):
<?php
/*
Template Name: Full Width (No Sidebars)
*/
get_header(); ?>
<!-- Start the main container -->
<div class="container" role="document">
<div class="row">
<!-- Row for main content area -->
<div class="small-12 large-12 columns" id="content" role="main">
<?php /* Start loop */ ?>
<?php while (have_posts()) : the_post(); ?>
<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
<header>
<h1 class="entry-title"><?php the_title(); ?></h1>
<?php reverie_entry_meta(); ?>
</header>
<div class="entry-content">
<?php the_content(); ?>
</div>
</article>
<?php endwhile; // End the loop ?>
</div>
<?php get_footer(); ?>
What am I doing wrong?
]]>When I run the following command from the child theme folder (child theme was downloaded from here)…
sass –watch scss:css
… I get the following errors:
>>> Sass is watching for changes. Press Ctrl-C to stop.
error scss\_settings.scss (Line 9: File to import not found or unreadable: foundation/functions.
Load paths:
C:/xampp/htdocs/suidlanders/wp-content/themes/reverie-child-master (DEPRECATED)
C:/xampp/htdocs/suidlanders/wp-content/themes/reverie-child-master/scss)
error scss\_settings.scss (Line 9: File to import not found or unreadable: foundation/functions.
Load paths: C:/xampp/htdocs/suidlanders/wp-content/themes/reverie-child-master (DEPRECATED)
C:/xampp/htdocs/suidlanders/wp-content/themes/reverie-child-master/scss)
Any ideas why?
]]>I create a test site: https://test.dglowin.com using WP 3.8.1 and NextGen 2.0.40. There are no other plugins activated. In the header’s primary navigation, there are drop down menus. Once I activate NextGen, they no longer appear on hover.
Any ideas?
Thanks.
https://www.ads-software.com/plugins/nextgen-gallery/
]]>I have two templates: Home page and Internal page. The Internal pages have a top navigation bar, the Home page does not. After creating the top navigation bar in the template, assigning a link class “.topnav” and applying it to the Internal pages, I return to the Home page and see that arbitrary links on that page are showing the “.topnav” class attributes. That class is not called anywhere on the Home page. It’s not ever link, just a few here and there.
Chrome and Firefox dev tools verify that “.topnav” isn’t assigned in the HTML, but still lists the correct style attributes as crossed out and “.topnav” as the dominant style attribute.
I’m at a loss as to what’s causing this style to be assigned to random elements. Any insight would be great.
]]>Hi everyone,
I found a glitch in the ‘/css/foundation.css’ file within the Reverie WordPress theme which is based on Zurb’s Foundation 4.
If you try to print any page on a Reverie themed site a blank page is printed.
line number 2798 through 2800 on Reverie’s version of the foundation.css reads
@media print {
div:not(.reveal-modal) {
display: none; } }
Foundation 4’s version of the foundation.css reads
@media print {
.reveal-modal {
background: white !important; } }
Simply swapping out the Reverie version of the code for the Foundation 4 version fixes the problem.
The glitch is caused by how the css is written in Reverie
div:not(.reveal-modal) {display: none; }
tells the browser display: none unless the class tag is named reveal-modal, any div without that specific class tag is removed when printed. This is likely an oversight intended to hide modal elements.
More details on how to use div:not here
https://kilianvalkhof.com/2008/css-xhtml/the-css3-not-selector/
For an example of the error try printing any page on Reverie’s site at https://themefortress.com/demo/ as of this post the error occurs on their site as well.
By comparison try printing any page using Foundation 4.
]]>Let me know what you guys think. Thanks.
]]>Thanks!
https://www.ads-software.com/extend/plugins/advanced-ajax-page-loader/
]]>I’m using this function to generate the pagination numbers: https://pastebin.com/HXtsgj88
This works well on Categories pagination but not on the main blog.
loop-index.php is in charge of displaying my Blog and the code of loop-index.php is here: https://pastebin.com/t6Dss6FG
My website is https://www.zakochaniwfotografii.pl/blog/
Any help appreciated!
Thank you,
Alex
My client wishes to have one of the pages in the top-level navigation be ‘News’, with the ‘Company Blog’ as a drop down. The ‘Company Blog’ will serve as the primary blog, where news will be displaying everything from the ‘News’ blog post category.
Does this mean that I need to have two separate blogs on my one website? Is there a way to just feed one category on one page but display it stylistically the same as the blog?
Help is greatly appreciated, thanks!
]]>