WordPress.org

Ready to get started?Download WordPress

Forums

Changing Color of Text and Removing Code (3 posts)

  1. futurepocket
    Member
    Posted 3 years ago #

    Hi guys,
    A few things I wanted to accomplish on a new WordPress I am developing:

    http://futurepocket.com/futurepocket/?p=16

    I've installed sexybookmarks plugin on the blog, so I want to remove the old icons that come default with the theme.

    I found this code in the single.php page:

    <div id="tools">
    <div style="float:left;">&title=<?php the_title();?>" target="_blank"><img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/sociable/digg.png" title="Digg this!"><a href=" http://del.icio.us/post?v=4&noui&jump=close
    &url=<?php the_permalink();?>
    &title=<?php the_title();?>" target="_blank"><img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/sociable/delicious.png" title="Add to del.icio.us!">&title=<?php the_title(); ?>" target="_blank"><img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/sociable/stumbleupon.png" title="Stumble this!">" target="_blank"><img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/sociable/technorati.png" title="Add to Techorati!">&t=<?php the_title();?>" target="_blank"><img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/sociable/facebook.png" title="Share on Facebook!">&h=<?php the_title();?>" target="_blank"><img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/sociable/newsvine.png" title="Seed Newsvine!"><a href=" http://reddit.com/submit?url=
    <?php the_permalink();?>&title=<?php the_title();?>" target="_blank"><img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/sociable/reddit.png" title="Reddit!">&u=<?php the_permalink();?>&ei=UTF" target="_blank"><img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/sociable/yahoomyweb.png" title="Add to Yahoo!">
    </div>

    but when I delete it, it messes up the whole page (the comments box expands and the advertisement and the sidebar move down on the page). Any idea how I can safely remove that code without messing up the page?

    Also, I have DISQUS comments installed on the blog, and the text "SORT BY" is currently white, which file would I have to edit to change the color of the text? I also want to remove the little "TRACKBACK URL" box at the bottom of DISQUS comments, how would I go about removing that?

    Any help would be greatly appreciated as I am kind of new at this.

  2. jrav001
    Member
    Posted 3 years ago #

    Your text is white because on line 20 of your style.css you have:

    body {
    color:#FFFFFF;
    font:100% Arial,Helvetica;
    }

    change the color to something else so it will display on your white cackground.

    As for your other problem, make sure you are removing matching divs. You open with 2 divs, so should remove 2 as well, not just one as shown in your example.

  3. futurepocket
    Member
    Posted 3 years ago #

    thanks :D got it all working now... you're a lifesaver

Topic Closed

This topic has been closed to new replies.

About this Topic