• Hi folks,

    I’m working on my wife’s WP Blog and I’ve successfully upgraded it however the links are larger than the previous version.

    Take a look:
    https://www.averybeck.com/blog < old version
    dev.averybeck.com/blog < new version

    Notice the link font is larger. This happened after upgrade. I suspect the theme however I’m unsure where to look. Possible missing entry required for 2.7.1 in the style sheet?

Viewing 15 replies - 1 through 15 (of 23 total)
  • Hi

    I see that some of your sidebar header fonts are larger. What has happened is in the new version, some of the sidebar headers are now set to <h2> In the old version they were <h4>. If you change the <h2>to <h4> you will be OK.

    Thread Starter jonjames

    (@jonjames)

    Thanks, where do i set this?

    /wp-content/themes/{themename}/sidebar.php

    Thread Starter jonjames

    (@jonjames)

    Sorry to keep asking these questions. I took a look at the php file and don’t see the area. I even changed every header in the file today and it still didn’t take affect.

    Apparently, the areas that have larger fonts are the “category” sections of links. Maybe my specific sidebar.php file is missing something that’s needed?

    Neither of the links in your first post work… ??

    Thread Starter jonjames

    (@jonjames)

    ugh, looks like my webhosting is down at the moment.

    *** edit, it’s back up ***

    Font-sizes are the same on both for me…

    Unless you mean this bit in the sidebar on the left..

    2008 Golden Heart finalists

    On one site the text is inside <h2> on the other <h4>.

    Hope that helps..

    Thread Starter jonjames

    (@jonjames)

    Hi,

    Yes, how do i get that font to be h4? Within wordpress, that is a category of links. Someone above suggested the sidebar.php however i set every value in there at h4 and it didn’t change it.

    Ok here’s a small mission…

    Find this in one of your theme files, it’s likely to be sidebar, header or footer.php … or perhaps index.php… in any case…

    Find..
    class="middleLeftBlog"

    It’ll be attached to a <div element …

    Once you find that …after it is where your H2 will be…

    If not there, then i have a theory it might be in the functions.php…

    Ah yes of course, it’s proberly the widget title, check your theme functions.php

    Thread Starter jonjames

    (@jonjames)

    Only 1 hit in my current theme. Located in header.php

    <div class="middleLeftBlog">
       <?php get_sidebar(); ?>
    </div>

    I assume this is a method to retrieve sidebar.php.

    Do you use widgets?

    If so post the code from your functions.php file please.

    Thread Starter jonjames

    (@jonjames)

    My dashboard says I’m using 0 widgets.

    I think I found, or am narrowing down the offending code. In my sidebar.php file, i found this:

    <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
        <?php wp_list_bookmarks(); ?>

    when i comment out this code, obviously the list bookmarks goes away in the page. Am I supposed to pass some values into wp_list_bookmarks so it’s properly formatted?

    <?php wp_list_bookmarks(); ?>

    Change to…

    <?php wp_list_bookmarks('title_before=<h4>&title_after=</h4>'); ?>

    ??

    Thread Starter jonjames

    (@jonjames)

    Awesome. That worked! For some reason, I’m getting bullets in the categories. Here’s the code snippet:

    <?php wp_list_categories('show_count=1&title_li=<h4>Categories</h4>'); ?>
    
    <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
       <?php wp_list_bookmarks('title_before=<h4>&title_after=</h4>'); ?>

    I assume there is something wrong with the wp_list_categories formatting too.

    Thanks for your patience. I’m pretty fuzzy around php if you hadn’t already guessed.

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Upgrade from 2.3 to 2.7.1 (link font large)’ is closed to new replies.