ThemeShaper Forums » Thematic

[closed]

Please Help me find the code!!

(15 posts)
  • Started 9 years ago by nomadicmatt
  • Latest reply from Chris
  • This topic is not resolved
  1. nomadicmatt
    Member

    Hi,

    I paid a guy to build my website and he did it using thematic as a child theme. I know a bit of coding but thematic confuses the hell out of me. My website is this: http://www.nomadicmatt.com

    My questions are:

    1. where is the actual code for the header? i go into the header file and it is just "thematic..." Where is actual code? I want to add the code for a favicon and some verification codes for some web programs I use?

    2. Where is the code for the blog posts? I want to remove the track backs to previous posts as well as the trackback stuff.

    3. where is the actual footer code? I want to reduce the height of my footer and change some of the spacing.

    All the thematic code seems to be <php thematic .....> and not actual code and im having a damn hard time locating the actual code so I can make tweaks to my site.

    please help!

    Posted 9 years ago #
  2. Hi,

    1)

    Add something like:

    function my_headercode() {?>
    
    <-- Your Code -->
    
    <?php }
    add_action('wp_head', 'my_headercode');

    to your child theme's functions.php.

    2) What do you mean with track backs to previous posts?

    3) Use Firefox with the Firebug addon to play with the settings for the footer. Add the new settings to your child theme's style.css.

    Btw. .. Why don't you ask J.D.?

    Chris

    Posted 9 years ago #
  3. nomadicmatt
    Member

    Chris,

    1. so i can put this code:

    <meta name="verify-v1" content="" />
    <META name='blogburst-verify' content=''/>
    <link rel="Shortcut Icon" href="<?php echo bloginfo('template_url'); ?>/images/favicon.jpg" type="image/x-icon" />

    inbetween that function code in the function.php? do I need anything before the word "function"

    2. Yes, on an individual blog post I want to get rid of the track backs to previous and next posts as well as the little blurb with all the tags and catagories.

    3. I looked in firebug but I couldn't find anything that had to do with a height.

    and when you mean child theme you mean nomadicmatt's theme not thematic right?

    Posted 9 years ago #
  4. 1) yep .. it would look like:

    function my_headercode() {?>
    
    <meta name="verify-v1" content="" />
    <META name='blogburst-verify' content=''/>
    <link rel="Shortcut Icon" href="<?php echo bloginfo('template_url'); ?>/images/favicon.jpg" type="image/x-icon" />
    
    <?php }
    add_action('wp_head', 'my_headercode');

    .. and .. no .. you don't need anything before function. Just paste that code at the end of your child theme's functions.php but before the closing ?>.

    You should test this on a local server first! Any error while pasting or entering any characters behind the closing ?> might break / blank your blog output.

    2) Gimme a couple of minutes .. need to look for this one.

    3) There's no height defined. It's controlled by:

    #siteinfo {
        padding: 22px 0 44px;
    }

    Add this code at the end of your child theme's style.css and modify the original settings (22px -> padding-top; 44px -> padding-bottom).

    The child theme is your 'theme' not Thematic. Thematic is the framework delivering the whole functionality and should never be changed.

    Chris

    Posted 9 years ago #
  5. The previous / next post links on a single post can be removed using this code:

    .single #nav-below {display: none;}

    in your child theme's style.css.

    Btw.: the 'little blurb' .. should this only be removed for the single post??

    Posted 9 years ago #
  6. nomadicmatt
    Member

    1. didn't work. The bottom of my theme functions looks like this:

    function my_headercode() {?>

    <meta name="verify-v1" content="RScFU5RfqOhJFfhCV2ftptUMIxwUu8hmpQbdnLGChUk=" />
    <META name='blogburst-verify' content='B8tJXI6XapChzBnXKAaHBfnO'/>
    <link rel="Shortcut Icon" href="http://www.nomadicmatt.com/images/favicon.jpg" type="image/x-icon" />

    <?php }
    add_action('wp_head', 'my_headercode');

    ?>
    p

    ps- here i am just trying to add the favicon button next the url. is the "<link rel..." code right?
    2. There was nothing in my style.css that had "single" in it for me to change to ".single #nav-below {display: none;}" and yes I would like the blurb to be removed from a single post only.

    3. works great!!!

    Posted 9 years ago #
  7. Mmmh ... sorry .. the second line (meta name) should look like this:

    <META name="blogburst-verify" content="B8tJXI6XapChzBnXKAaHBfnO"/>

    And the favicon.jpg needs to be converted into favicon.ico (can be done using IrfanView)

    Yes, there's no .single #nav-below in your style.css, you need to add it. This will remove the nav-below part only on a single post.

    The get-rid-of-that-blurp-code for your style.css is:

    .single .entry-utility {display:none;}

    Chris

    Posted 9 years ago #
  8. nomadicmatt
    Member

    Chris,

    Thanks. Looking at this page: http://www.nomadicmatt.com/travel-blogs/announcing-octobers-contest-winners/

    1. I changed the text font to "georgia" as it is easier to read. But now my sidebar is all screwed up with the topics. The word's don't fit. Where can I go to change just the sidebar text back to the original arial font.

    2. I want to get rid of the blurb "« The weekly photo". How do I get rid of that?

    3. I'd like to push the comments up a bit so there is less whitespace.

    You have been really helpful at showing me how the thematic code is layed out. Thank you!

    Posted 9 years ago #
  9. Hi, *** warning ** this is the blind leading the blind type of advice .. lol

    1. It looks like the .aside {}or the .aside, .aside input {} in defaut.css controls the area you are interested in.

    default.css (line 671)
    .aside {
    color:#666666;
    }

    default.css (line 643)
    .aside, .aside input {
    font-size:13px;
    line-height:18px;
    margin-bottom:6px;
    }
    This is from your style.css

    /* Apply default theme styles and colors */
    /* It's better to actually copy over default.css into this file (or link to a copy in your child theme) if you're going to do anything outrageous */
    @import url('../thematic/library/styles/default.css');

    but you should be able to just add

    .aside {
    color:#666666;
    font-family:arial;
    }

    to your style.css and it should over-ride the entry in default.css

    Because I had some problems with figuring out just how inheritance works (when I was modifying the child theme I started with) between default.css and style.css. I did what was advised in your style.css and made a copy of default.css, renamed it and linked to it in style.css. copied it to my child directory and made the changes there.

    Posted 9 years ago #
  10. 3. change the margin-bottom to 20px or something

    style.css (line 845)

    .navigation {
    display:block;
    margin-bottom:60px;
    margin-top:10px;
    text-align:center;
    }

    or maybe for more precise control

    default.css (line 437)

    #nav-above, #nav-below {
    margin-bottom:20px;
    width:100%;

    Posted 9 years ago #
  11. nomadicmatt
    Member

    Ok, so I figured out #1 and #3

    but anyone help on number two?

    Posted 9 years ago #
  12. See my last answer / last code for style.css.

    Posted 9 years ago #
  13. .. Sorry .. the #nav-below thing

    Posted 9 years ago #
  14. nomadicmatt
    Member

    Chris,

    are you available by email? My designer is unresponsive now that he has gotten paid and after reflecting on my homepage, I want to make some small design changes to it. I'd like to hire you to make a few changes and such.

    Sincerely,

    Matt

    Posted 9 years ago #
  15. Hi Matt,

    you can contact me at chris (at) wupperpiraten (dot) de.

    Thanks!

    Chris

    Posted 9 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.