djedje
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Fixing WordPress
In reply to: Homepage not showing/working unless logged in**on mysite.com instead of the homepage showing, a generic hello world! blog page comes up.**
I just realised, a comma is crucial to defining that sentence’s meaning ??
Forum: Hacks
In reply to: Copy (most of) style to newly created menuIn the end I realised that calling multiple classes through php does not required commas, in that way I managed to apply existing styles to my new menu.
Thanks bcworkz, using the developer tools I found out which CSS classes were applied to each element.
Forum: Hacks
In reply to: Copy (most of) style to newly created menuHi Biren, thanks for your reply. I’m trying to do that but it doesn’t seem that the styles are being applied to the new menu class. Here’s my code from header.php
<header role="banner"> <div class="navbar navbar-default navbar-fixed-top"> <div class="container container-full"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-responsive-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <?php if( $berry_redux['berry-nav-branding-logo-is-image'] == true ): ?> <a class="navbar-brand is-image" title="<?php echo get_bloginfo('description'); ?>" href="<?php echo home_url(); ?>"> <img class="branding-logo" src="<?php echo $berry_redux['berry-nav-branding-logo']['url']; ?>" alt="<?php echo get_bloginfo('description'); ?>"> </a> <?php else : ?> <a class="navbar-brand" title="<?php echo get_bloginfo('description'); ?>" href="<?php echo home_url(); ?>"><?php bloginfo('name'); ?></a> <?php endif; ?> </div> <div class="collapse navbar-collapse navbar-responsive-collapse"> <?php wp_bootstrap_main_nav(); // Adjust using Menus in WordPress Admin ?> <?php wp_nav_menu( array( 'theme_location' => 'new-menu', 'container_class' => 'navbar-responsive-collapse' ) ); ?>
Viewing 3 replies - 1 through 3 (of 3 total)