Title: robinbutton's Replies | WordPress.org

---

# robinbutton

  [  ](https://wordpress.org/support/users/robinbutton/)

 *   [Profile](https://wordpress.org/support/users/robinbutton/)
 *   [Topics Started](https://wordpress.org/support/users/robinbutton/topics/)
 *   [Replies Created](https://wordpress.org/support/users/robinbutton/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/robinbutton/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/robinbutton/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/robinbutton/engagements/)
 *   [Favorites](https://wordpress.org/support/users/robinbutton/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/users/robinbutton/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/robinbutton/replies/page/2/?output_format=md)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Eleven] Sidebar drops underneath page content](https://wordpress.org/support/topic/sidebar-drops-underneath-page-content/)
 *  [robinbutton](https://wordpress.org/support/users/robinbutton/)
 * (@robinbutton)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/sidebar-drops-underneath-page-content/page/2/#post-7267123)
 * So glad I found this post! Eric’s solution worked for me! I added his code to
   my Twenty-Eleven child theme’s functions. php. Thanks SO much!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] Reordering table rows](https://wordpress.org/support/topic/reordering-table-rows/)
 *  Thread Starter [robinbutton](https://wordpress.org/support/users/robinbutton/)
 * (@robinbutton)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/reordering-table-rows/#post-7046193)
 * I’m sorry … I figured it out! I just had to grab the table number on the right!
   It’s the little things that can get me!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Adding Opacity to sidebar background in Twenty Fifteen](https://wordpress.org/support/topic/adding-opacity-to-sidebar-background-in-twenty-fifteen/)
 *  Thread Starter [robinbutton](https://wordpress.org/support/users/robinbutton/)
 * (@robinbutton)
 * [11 years ago](https://wordpress.org/support/topic/adding-opacity-to-sidebar-background-in-twenty-fifteen/#post-5715428)
 * Hi Angoo … this was the solution! It did the trick! I am so glad, and thank you!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Adding Opacity to sidebar background in Twenty Fifteen](https://wordpress.org/support/topic/adding-opacity-to-sidebar-background-in-twenty-fifteen/)
 *  Thread Starter [robinbutton](https://wordpress.org/support/users/robinbutton/)
 * (@robinbutton)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/adding-opacity-to-sidebar-background-in-twenty-fifteen/#post-5715405)
 * Thanks for the input! I experimented with some background colors, and see how
   it can work.
 * I am wanting my page background image to “show through” the sidebar, and have
   not been able to accomplish that. But I will spend more time on it when I get
   a chance.
 * I will add to this thread when I have more to contribute. Thanks again!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [myfonts font face not displaying in Firefox](https://wordpress.org/support/topic/myfonts-font-face-not-displaying-in-firefox/)
 *  Thread Starter [robinbutton](https://wordpress.org/support/users/robinbutton/)
 * (@robinbutton)
 * [12 years ago](https://wordpress.org/support/topic/myfonts-font-face-not-displaying-in-firefox/#post-4774143)
 * I fixed the problem … had to do with the link path from my WP header template.
   I had an absolute path rather than relative. This meant that FF was interpreting
   this as cross-domain which it doesn’t allow.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Pages not found after relocating wp site](https://wordpress.org/support/topic/pages-not-found-after-relocating-wp-site/)
 *  Thread Starter [robinbutton](https://wordpress.org/support/users/robinbutton/)
 * (@robinbutton)
 * [12 years ago](https://wordpress.org/support/topic/pages-not-found-after-relocating-wp-site/#post-4770491)
 * Well, duh … the problem was with the .htaccess file … after backing it up, thought
   I’d replaced the one in the root directory with the wp one in my sub folder. 
   Not the case … once I replaced it, all was fine.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Change home page link text in Twenty Twelve Child Theme](https://wordpress.org/support/topic/change-home-page-link-text-in-twenty-twelve-child-theme/)
 *  Thread Starter [robinbutton](https://wordpress.org/support/users/robinbutton/)
 * (@robinbutton)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/change-home-page-link-text-in-twenty-twelve-child-theme/#post-4577875)
 * I tried this … on refresh, the website still comes up blank. Any other suggestions…
   thank you for your help.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Twenty Twelve menu button not working](https://wordpress.org/support/topic/twenty-twelve-menu-button-not-working/)
 *  Thread Starter [robinbutton](https://wordpress.org/support/users/robinbutton/)
 * (@robinbutton)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/twenty-twelve-menu-button-not-working/#post-4537639)
 * I was able to acquire a solution, which I will share for the benefit of others.
   The changes were made to the child theme … not a good idea to make any changes
   to the parent Twenty-Twelve. I added a js folder to my child theme that contained
   a navigation.js file which I renamed to nav.js to make it easier to keep track
   of which js file was being called. Then, I changed the following line:
 *     ```
       ( function() {
       	var nav = document.getElementById( 'primary-mobile' ), button, menu;
       	if ( ! nav )
       		return;
       ```
   
 * Note the name of the menu primary-mobile in the parens, which was the only change
   made to this line.
 * Then I had to dequeue and enqueue in a child theme functions.php file by adding
   this code:
 *     ```
       function childtheme_scripts() {
   
       wp_dequeue_script( 'twentytwelve-navigation' );
   
       wp_enqueue_script( 'primary-mobile', get_stylesheet_directory_uri() . '/js/nav.js', array(), '1.0', true );
   
       }
   
       add_action( 'wp_enqueue_scripts', 'childtheme_scripts' );
   
       	?>
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Twenty Twelve menu button not working](https://wordpress.org/support/topic/twenty-twelve-menu-button-not-working/)
 *  Thread Starter [robinbutton](https://wordpress.org/support/users/robinbutton/)
 * (@robinbutton)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/twenty-twelve-menu-button-not-working/#post-4537593)
 * I have an update. I switched the theme over to twenty-twelve and the menu button
   toggled fine. So the problem is in the child theme. I can’t see anything in the
   child styles.css (no display-none code, for example). I’m wondering if the problem
   isn’t in my header.php code or my functions.php code. Here it is:
 * header.php code:
 *     ```
       <nav id="primary-mobile" class="main-navigation" role="navigation">
       			<h3 class="menu-toggle"><?php _e( 'Menu', 'twentytwelve' ); ?></h3>
       			<a class="assistive-text" href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentytwelve' ); ?>"><?php _e( 'Skip to content', 'twentytwelve' ); ?></a>
       			<?php wp_nav_menu( array( 'theme_location' => 'primary-mobile', 'menu_class' => 'nav-menu' ) ); ?>
       		</nav><!-- #primary-mobile -->
       ```
   
 * functions.php code
 *     ```
       function lylegomes_setup() {
   
        // This theme uses wp_nav_menu() in one location.
       	register_nav_menu( 'secondary', __( 'Footer Menu', 'twentytwelve' ) );
       	register_nav_menu( 'mobile', __( 'Header Menu', 'twentytwelve' ) );
        }
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Adding Top Menu in Mobile Only](https://wordpress.org/support/topic/adding-top-menu-in-mobile-only/)
 *  Thread Starter [robinbutton](https://wordpress.org/support/users/robinbutton/)
 * (@robinbutton)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/adding-top-menu-in-mobile-only/#post-4534195)
 * I came up with another solution, and was able to resolve my problem. I removed
   the code from the solution above and instead created a custom menu, added a line
   in my functions.php file to register the menu, which allows it to come into the
   dashboard > appearance > menus area as another menu:
 * `register_nav_menu( 'mobile', __( 'Header Menu', 'twentytwelve' ) );`
 * And then added the nav code to my header.php:
 *     ```
       <nav id="primary-mobile" class="main-navigation" role="navigation">
       			<h3 class="menu-toggle"><?php _e( 'Menu', 'twentytwelve' ); ?></h3>
       			<a class="assistive-text" href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentytwelve' ); ?>"><?php _e( 'Skip to content', 'twentytwelve' ); ?></a>
       			<?php wp_nav_menu( array( 'theme_location' => 'primary-mobile', 'menu_class' => 'nav-menu' ) ); ?>
       		</nav><!-- #primary-mobile -->
       ```
   
 * The only problem I’m having is that the menu button doesn’t work. I’ve created
   a new topic for this problem at the link below:
 * [ Menu Button Doesn’t Work in Twenty Twelve Mobile](http://bit.ly/1ei5GJP)
 * If the problem relates to my resolution of this topic, I will post an update.
   If there’s no update and your menu button doesn’t work, check out the above topic
   link.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Adding Top Menu in Mobile Only](https://wordpress.org/support/topic/adding-top-menu-in-mobile-only/)
 *  Thread Starter [robinbutton](https://wordpress.org/support/users/robinbutton/)
 * (@robinbutton)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/adding-top-menu-in-mobile-only/#post-4534063)
 * I’m sorry, I forgot to include a link to the site.
 * [Here it is](http://lylegomes.net/wp/)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [first-child css for font-family not working in child theme](https://wordpress.org/support/topic/first-child-css-for-font-family-not-working-in-child-theme/)
 *  Thread Starter [robinbutton](https://wordpress.org/support/users/robinbutton/)
 * (@robinbutton)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/first-child-css-for-font-family-not-working-in-child-theme/#post-4530009)
 * Thanks, that did the trick!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Twenty Twelve child theme not responsive in mobile](https://wordpress.org/support/topic/twenty-twelve-child-theme-not-responsive-in-mobile/)
 *  Thread Starter [robinbutton](https://wordpress.org/support/users/robinbutton/)
 * (@robinbutton)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/twenty-twelve-child-theme-not-responsive-in-mobile/#post-4455529)
 * It’s resolved!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Twenty Twelve child theme not responsive in mobile](https://wordpress.org/support/topic/twenty-twelve-child-theme-not-responsive-in-mobile/)
 *  Thread Starter [robinbutton](https://wordpress.org/support/users/robinbutton/)
 * (@robinbutton)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/twenty-twelve-child-theme-not-responsive-in-mobile/#post-4455511)
 * Hello Jesin,
 * The theme preview at the link you provided is responsive. Therefore, I didn’t
   do anything that you suggested.
 * However, I realized what the problem was … I was viewing pages on the non-responsive
   site that we will be replacing! This is embarrassing. Lesson learned: sometimes
   you have to step away and take a break from hours of banging out code.
 * Sorry for any inconvenience … but maybe this will help someone else in the future.
   Doh.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Bottom sticky main-navigation in twenty twelve](https://wordpress.org/support/topic/bottom-sticky-main-navigation-in-twenty-twelve/)
 *  Thread Starter [robinbutton](https://wordpress.org/support/users/robinbutton/)
 * (@robinbutton)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/bottom-sticky-main-navigation-in-twenty-twelve/#post-4411645)
 * Hi all,
 * I employed another strategy … added the navigation to the footer div and went
   from there. The solution I used is here:
 * [http://wordpress.org/support/topic/sticky-footer-twenty-twelve?replies=22](http://wordpress.org/support/topic/sticky-footer-twenty-twelve?replies=22)

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/users/robinbutton/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/robinbutton/replies/page/2/?output_format=md)