babrees

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 67 total)
  • Author
    Posts
  • in reply to: Minimum Theme: move Nav Menu #161947

    babrees
    Participant

    Thanks Brad. I actually gave it a margin-top and the mobile bit was easier than I thought; I only had to adjust the widest of the media queries :D

    in reply to: Minimum Theme: move Nav Menu #161921

    babrees
    Participant

    Yes, I did try position fixed for the nav menu. Of course that messed up the design and I just thought it would be easier to put it within the header div instead of juggling about with the .css, including the mobile bit of .css! I was obviously wrong <G>

    Custom menu in header is not on as I have a search bar there.

    I guess I’ll have to have a play around with the .css and see if I can get it fixed in the right position for all devices!

    in reply to: Minimum Theme: move Nav Menu #161913

    babrees
    Participant

    Thanks Brad but that puts it above the header. I want it just before the closing tag of header, so it is nestled with the header div, ie after <header class=”site-header”> and just before </div>

    Unless there is another way to do what I want! I am trying to have the header and primary nav in a group that is fixed. At the moment the header only is fixed with the nav displaying below it. You can see what I have done so far at: http://fuerteventura.babrees.co.uk/?p=1 I simply want the nav bar fixed as well.

    in reply to: snippet for functions.php to show category name #138242

    babrees
    Participant

    Just a small update for anybody else who might want this. You need to use before_loop, not before_content.

    in reply to: snippet for functions.php to show category name #137641

    babrees
    Participant

    YES! BRILLIANT!

    Thank you so much Ren, I appreciate your help!

    I LOVE learning something new :D

    Cheers
    Jill

    in reply to: snippet for functions.php to show category name #137638

    babrees
    Participant

    OK, I’ve changed the is_category line to: if ( is_tax( ‘judges’ ) )

    That works but I can’t get it working with is_category and the default categories don’t work with is_tax!

    I’m stumbling a bit in the dark here.

    Would you be able to help me with adding something like the following?

    if ( is_tax( ‘judges’ ) )
    AND
    if (is_cat)

    • This reply was modified 7 months, 2 weeks ago by  babrees.
    • This reply was modified 7 months, 2 weeks ago by  babrees.
    in reply to: snippet for functions.php to show category name #137637

    babrees
    Participant

    Hi Ren! Thanks again!

    I changed the before_content to before_entry – that works :) At the moment, the site is in early stages of development and you won’t see anything different to the magazine-pro theme at the front end.

    It is a custom taxonomy – category type. Not sure how else to describe it! In admin area, yes, it comes under posts in its own right and I add normal posts to it and it behaves like a category. However, your snippet on works for the default categories, NOT the custom one.

    in reply to: snippet for functions.php to show category name #137633

    babrees
    Participant

    Hi Ren. Thanks!

    It does add the category but puts it in the sidebar and with no formatting. I can easily do the formatting by adding divs but how to ensure it goes in the content area, not the sidebar?

    Also, can you help with doing that for a custom category type, called “Judges” ?

    :D

    in reply to: customise categories #137152

    babrees
    Participant

    Thanks Brad, but sadly that hasn’t worked. I have since added remove meta and info to the functions file, so changed the category.php to the following, but that still isn’t working.

    <?php
    // Remove content, post-info, and post-meta
    remove_action(‘genesis_entry_content’, ‘genesis_do_entry_content’);
    require_once(PARENT_DIR . ‘/index.php’);
    ?>

    What I am trying to do is, in the categories display the post image and title only and in columns. This is the original site I am trying to update: http://www.witchgait.co.uk/category/my-shar-pei/rainbow-bridge/

    Here is the new site so far: http://www.witchgait.co.uk/wordpress/category/my-shar-pei/rainbow-bridge/

    As well as the above category.php I have the following css, putting it into columns on the original site, but doesn’t work in the new site:

    body.category #content .post {
    /* add styles to float each .post div and make into columns */
    float:left;
    width: 185px;
    height: 210px;
    padding: 15px;
    margin: 6px;
    font-size:10px;
    text-align:center !important;
    line-height:normal;
    border: 1px solid #9CBDDE;
    }

    in reply to: Remove post title on specific custom type only #135646

    babrees
    Participant

    Thanks to Brad – after much searching on Google finally came across the answer on his site! :D

    in reply to: New way of displaying add header, etc in admin #135485

    babrees
    Participant

    what a bummer! Thanks :(

    Guess I shall go back to doing it all in the stylesheet!

    • This reply was modified 8 months ago by  babrees.
    • This reply was modified 8 months ago by  babrees.

    babrees
    Participant

    Thanks for this – just what I was looking for, works a treat!

    in reply to: Home Page widgets #132088

    babrees
    Participant

    ok, I think it’s because there’s something in the centric theme that is over-riding it. Guess I’ll just have to start a theme from scratch!

    in reply to: Home Page widgets #132075

    babrees
    Participant

    Thanks Lauren, but that snippet is already in the front-page. I am using the default front-page of News-Pro.

    in reply to: Featured image only in blog archives #129068

    babrees
    Participant

    Thanks, but not quite what I was after. I want featured image thumbnails to show on one specific category/archive only (not on all single posts).

    Using what you posted I came up with the following, but it doesn’t work. Any ideas?

    /** Add Featured Image to Posts – the Webonanza style */
    add_action( ‘genesis_before_loop’, ‘add_thumbnail_archives_specific_category’ );
    function add_thumbnail_archives_specific_category() {

    if ( ! is_category( ‘blog’ ) ) { // enter your category slug here
    genesis_image( array( ‘size’ => ‘post-thumbnail’, ‘attr’ => array( ‘class’ => ‘alignright post-image’ ) ) );
    }

Viewing 15 posts - 1 through 15 (of 67 total)