Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • If you have FTP access, the ideal way to do it would be to set up a child theme, and make the changes in there. You can read about making child themes here. Child Themes. Follow that guide, then add the code to the newly created style.css (in child theme).

    A quicker / less recommended way would be to add it to your current themes style.css file using the wordpress Editor in the admin section. The issue with this is any changes made using the Editor are final. If you delete code by mistake it is gone. It is important to be careful when using the editor.
    To use the editor follow these steps;

    1. click on the “appearance” tab, then
    2. click on “editor” then
    3. select style.css as the file
    4. Paste code at the bottom of the text area (your style.css will already have code in it, just add the new code to the bottom and save it, DO NOT DELETE ANYTHING).

    http://screencast.com/t/9vFyddcUkM

    Everything SHOULD work.

    Ahh, I understand. That does make more sense, and I can replicate that issue.

    The problem is that in your CSS you have bullets turned off for all ULs, then turned back on for ULs inside a specific div (which is only on the specific post.)

    If you add this to your CSS file you should start to see the bullets on the blog list as well. Hope this helps

    .type-post ul li {
        list-style-type: disc;
        margin: 0 0 0 30px;
        padding: 0;
    }

    Sorry, I am a bit confused. Is the link you posted the site you are having trouble with? In the link you posted I am able to see the bullets just fine. Did you fix the problem already? What browser are you using that you have the issue you?

    Here is a screenshot of the link you sent in Firefox, Chrome, and IE. The bullets don’t all look the same, but they are there in all the browsers.
    http://screencast.com/t/CuYXSgKVx3Is

    Is there a link you can provide us with?

    It is very possible the theme has CSS which hides the bullets. They would still show up in the editor, but not on the actual site.

    It looks like you are using a hardcoded menu. It does not have any logic to add a class to the current page you are on.

    Your best bet would be switching it over to a WordPress menu you can manage from the backend. That will give you the current-menu-item class your looking for.

    Otherwise you could use some jQuery to add a class to the menu for the current class. This might help you, it should add a class of active to the current page. I got the code from

    http://stackoverflow.com/questions/13349046/add-active-class-to-the-current-pages-link-in-a-menu-using-jquery-or-php

    
    $("#menu a").filter(function(){
        return this.href == location.href.replace(/#.*/, "");
    }).addClass("active");
    

    Yes, you are using get_page incorrectly.

    If you read the get_page codex page, at the bottom there is an example that you could copy almost completely and get the result your probably looking for. Just change the $page_id number. I even pasted it below with the number already changed.

    Good Luck

    http://codex.wordpress.org/Function_Reference/get_page

    <?php
    $page_id = 122 ; // 122 should be replaced with a specific
    Page's id from your site, which you can find
    by mousing over the link to edit that Page
    on the Manage Pages admin page. The id will
    be embedded in the query string of the URL,
    e.g. page.php?action=edit&post=122 .
    
    $page_data = get_page( $page_id ); // You must pass in a
    variable to the get_page function. If you pass in a value
    (e.g. get_page ( 122 ); ), WordPress will generate an
    error. By default, this will return an object.
    
    echo '<h3>'. $page_data->post_title .'</h3>';// echo the title
    
    echo apply_filters('the_content', $page_data->post_content); // echo
     the content and retain WordPress filters such as paragraph tags.
    
    Origin:
    http://wordpress.org/support/topic/get_pagepost-and-no-paragraphs-problem
    ?>

    The only thing you need to change is the name of your header file. It should be named header-front.php. Otherwise everything you have there is correct.

    Hope it works for you.

    Forum: Fixing WordPress
    In reply to: Random Pop-Ups

    I was also unable to get any pop-ups on the site. I clicked through a fair number of pages as well.

    This should work.

    The headlines are all styled with Helvetica, I’m not sure if you want to change them all to the other font. If you just want the H tags to stay the same use this code

    .category-Blog p{
        font-family: "Special Elite",arial,sans-serif;
    }

    You should use this one instead if you want to overwrite the H tags as well.

    .category-Blog p, .category-Blog h1, .category-Blog h2,
    .category-Blog h3, .category-Blog h4, .category-Blog h5,
    .category-Blog h6{
        font-family: "Special Elite",arial,sans-serif;
    }

    Perfect, almost there.

    The section of the code with the navigation in it is this

    
    <div class="menu_wrapper">
      <div class="grid_18 alpha">
         <div id="MainNav">
           <?php _e('Pages Navigation Menu','black-bird'); ?><span></span>
            <?php blackbird_nav(); ?>
       </div></div>
       <div class="grid_6 omega">
         <div class="top-search">
    
            <?php get_search_form(); ?>
         </div>
       </div>
    </div>
    

    But that also includes the search form. I’m not sure of the styling of the site, that may need to go or stay depending. If it needs to go, remove all of that code and you should be good. If it needs to stay, try removing just this part

    <div id="MainNav">
     <?php _e('Pages Navigation Menu','black-bird'); ?><span></span>
      <?php blackbird_nav(); ?>
       </div>
    

    You navigation is not actually contained in the code you provided. It is located in header.php, and is being called into that page with the line <?php get_header(); ?>.

    In order to edit out the navigation for just the homepage you will need to make a copy of the header.php file, and name it something like header-home.php.

    Then you will need to edit out the navigation in that file, but I would need to see the code to tell you what exactly to edit out.

    After you do that, you will need to change the <?php get_header(); ?> line in frontpage.php to <?php get_header('home'); ?>, that will call the new header file you just created.

Viewing 11 replies - 1 through 11 (of 11 total)