Title: LastForOne's Replies | WordPress.org

---

# LastForOne

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Hide loop if less then X in category…](https://wordpress.org/support/topic/hide-loop-if-less-then-x-in-category/)
 *  [LastForOne](https://wordpress.org/support/users/jarral/)
 * (@jarral)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/hide-loop-if-less-then-x-in-category/#post-3506294)
 * > **$found_posts**
   >  The total number of posts found matching the current query
   > parameters. [WP_Query](http://codex.wordpress.org/Class_Reference/WP_Query)
 * that should do the trick for you.
 * `$recent->found_post` something like that then compare the value and depending
   on result show it or not.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [center-align block element](https://wordpress.org/support/topic/center-align-block-element/)
 *  [LastForOne](https://wordpress.org/support/users/jarral/)
 * (@jarral)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/center-align-block-element/#post-3491103)
 * main-navigation doesn’t exist means CSS doesn’t recognize it as a class or ID
   unless you add a `dot(.)` or `hash(#)` in front of it `.main-navigation(class)#
   main-navigation(ID)` in CSS and by adding `nav.main-navigation` you are applying
   style to `<nav>` which has a class of `.main-navigation`
    **Example:** `<nav 
   class='main-navigation'>something</nav>`
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [center-align block element](https://wordpress.org/support/topic/center-align-block-element/)
 *  [LastForOne](https://wordpress.org/support/users/jarral/)
 * (@jarral)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/center-align-block-element/#post-3491098)
 * in your css `.main-navigation` you’re floating it to right, you can remove the
   float and add some margin on left to center it.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [center-align block element](https://wordpress.org/support/topic/center-align-block-element/)
 *  [LastForOne](https://wordpress.org/support/users/jarral/)
 * (@jarral)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/center-align-block-element/#post-3491092)
 * `.nav.site-navigation.main-navigation`
 * here `.nav` is a css class not the element
 * try using
    `nav.site-navigation` or `nav.main-navigation`
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [custom navigation inline](https://wordpress.org/support/topic/custom-navigation-inline/)
 *  [LastForOne](https://wordpress.org/support/users/jarral/)
 * (@jarral)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/custom-navigation-inline/#post-3491085)
 * care mentioning your site URL to have a look myself to get a better idea.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Logo alignment](https://wordpress.org/support/topic/logo-alignment-1/)
 *  [LastForOne](https://wordpress.org/support/users/jarral/)
 * (@jarral)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/logo-alignment-1/#post-3482428)
 * **this is what you’ve**
    `<img src="images/nav.png" width="300" height="83">`**
   Replace it with ** `<img src="images/nav.png" width="300" height="83" />`
 * you forgot the trailing slash to close the `<img>` tag.
    hope that works.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [custom navigation inline](https://wordpress.org/support/topic/custom-navigation-inline/)
 *  [LastForOne](https://wordpress.org/support/users/jarral/)
 * (@jarral)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/custom-navigation-inline/#post-3491082)
 * **instead of **
    `<?php wp_nav_menu( array( 'sort_column' => 'menu_order', 'menu_class'
   => 'nav', 'theme_location' => 'primary-menu' ) ); ?>`
 * **use**
    `<?php wp_nav_menu( array( 'sort_column' => 'menu_order', 'menu_class'
   => 'navigation', 'theme_location' => 'header-menu' ) ); ?>`
 * hit me up if it doesnt work.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Scope Main Menu Padding?](https://wordpress.org/support/topic/scope-main-menu-padding/)
 *  [LastForOne](https://wordpress.org/support/users/jarral/)
 * (@jarral)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/scope-main-menu-padding/#post-3487700)
 * Few simple tweaks should do the trick, edit the style.css file of your theme 
   search for `#header` change padding from `20px to 15px` do same with `#primary-
   nav` it has a margin of 8px change it to 15px.
 * **This is what it should look like after editing**:
 *     ```
       #header {
           background: #fff;
           font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
           padding: 15px 13px; /* old value 20px 20px 13px */
       }
       #primary-nav {
           float: right;
           height: 35px;
           margin-top: 15px; /* old Value 8px */
       }
       ```
   
 * **Edit:** _Well WPyogi beats me by 5mins i was still busy writing the reply; _
 * Peace,
    LastForOne
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [WordPress Page Flip Theme](https://wordpress.org/support/topic/wordpress-page-flip-theme/)
 *  [LastForOne](https://wordpress.org/support/users/jarral/)
 * (@jarral)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/wordpress-page-flip-theme/#post-3487698)
 * I doubt you’ll find anything Free that fits your needs unless you hire a developer
   to especially design it for you, anyways here’s a premium plugin that can do 
   what you’re looking for @ [CodeCanyon](http://codecanyon.net/item/responsive-flip-book-wordpress-plugin/full_screen_preview/2372863)
 * Goodluck,
    LastForOne
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [how to hide software information form the users](https://wordpress.org/support/topic/how-to-hide-software-information-form-the-users/)
 *  [LastForOne](https://wordpress.org/support/users/jarral/)
 * (@jarral)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/how-to-hide-software-information-form-the-users/#post-3487134)
 * you can use admin_footer_text hook to acomplish that here’s an example code from
   my last work.
 *     ```
       // Custom Backend Footer
       function luna_custom_admin_footer() {
       	_e('<span id="footer-thankyou">Theme Designed by <strong>LastForOne</strong> | Powered By <a href="http://wordpress.org">WordPress</a></span>.', 'lunatheme');
       }
   
       // adding it to the admin area
       add_filter('admin_footer_text', 'luna_custom_admin_footer');
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Custom Links in menu modification](https://wordpress.org/support/topic/custom-links-in-menu-modification/)
 *  [LastForOne](https://wordpress.org/support/users/jarral/)
 * (@jarral)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/custom-links-in-menu-modification/#post-3484310)
 * just use `#john` in href instead of `john` because if you specify url=john it
   will take the root url of your blog (example.com) and add the john after a trailing
   slash (example.com/john)
 * Peace,
    LastForOne
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [How to get 2 sidebars, and content box to center?](https://wordpress.org/support/topic/how-to-get-2-sidebars-and-content-box-to-center-please-help-asap/)
 *  [LastForOne](https://wordpress.org/support/users/jarral/)
 * (@jarral)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/how-to-get-2-sidebars-and-content-box-to-center-please-help-asap/#post-3484300)
 * declare another sidebar in `function.php` and call it before content give it 
   width of 240px and then you can get rid of 240px padding on content, sidebar 
   will automatically push content to center make sure you give some margins.
 * LastForOne
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Logo alignment](https://wordpress.org/support/topic/logo-alignment-1/)
 *  [LastForOne](https://wordpress.org/support/users/jarral/)
 * (@jarral)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/logo-alignment-1/#post-3482335)
 * first of all i’d recommend you to use classes/ids instead of inline styling, 
   for example you can define a class `.left{ float: left; }` and float any element
   to the left by applying that class **EG:** `<div class='left'>go left</div>` 
   that will save you a lot of time going back and forth aligning the elements and
   you can use `margin:0 auto; which is equal to (top & bottom 0; left and right
   auto;)`
 * Goodluck,
    LastForOne
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Moving WordPress Site to Another Folder on the Same Server inside Domain](https://wordpress.org/support/topic/moving-wordpress-site-to-another-folder-on-the-same-server-inside-domian/)
 *  [LastForOne](https://wordpress.org/support/users/jarral/)
 * (@jarral)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/moving-wordpress-site-to-another-folder-on-the-same-server-inside-domian/#post-3483842)
 * yes you can, for example move your wordpress to yourdomain.com/blog where blog
   is the directory then follow the steps in this post to get your blog back up 
   and running @ `http://codex.wordpress.org/Changing_The_Site_URL` and i’d recommend
   editing `function.php` instead of `wp-config.php`.
 * Goodluck,
    LastForOne
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Featured image missing fron Blank theme](https://wordpress.org/support/topic/featured-image-missing-fron-blank-theme/)
 *  [LastForOne](https://wordpress.org/support/users/jarral/)
 * (@jarral)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/featured-image-missing-fron-blank-theme/#post-3465511)
 * `add_theme_support( 'post-thumbnails' );` this is what you need to include in
   your function.php to enable `post-thumbails`, and go through the **esmi’s** link
   for more info on how to retrieve and show the thumbnails.

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

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