• I know these kind of questions are covered all the time because they are as basic as they can get.

    Here is a link to a theme that I have recently downloaded (picture)
    CLICK HERE

    To go with that I have a couple of questions:

    – How to remove the “Text Link Ads” advertisement
    – How to remove the “Search” on the header
    – How to change the background of the “Home/About/etc” bar
    – How to change the background color of CATEGORIES/RECENT COMMENTS

    Here is what I have

    Theme Files
    Templates
    
        * Comments (comments.php)
        * Footer (footer.php)
        * Header (header.php)
        * Main Index Template (index.php)
        * Page Template (page.php)
        * Search Results (search.php)
        * Sidebar (sidebar.php)
        * Single Post (single.php)
        * Sitemap Page Template (sitemaps.php)
        * Theme Functions (functions.php)
        * lsidebar.php (lsidebar.php)
        * rsidebar.php (rsidebar.php)
    
    Styles
    
        * Stylesheet (style.css)

    I know you guys can help me out 🙂
    So if you have a few spare minutes, please reply back.

    Thank you so much

Viewing 5 replies - 1 through 5 (of 5 total)
  • 1) open index.php and remove this:

    <script type="text/javascript">
    /* <![CDATA[ */
    function affiliateLink(str){ str = unescape(str); var r = ''; for(var i = 0; i < str.length; i++) r += String.fromCharCode(2^str.charCodeAt(i)); document.write(r); }
    affiliateLink('%3Ec%22jpgd%3F%20jvvr8--uuu%2Cvgzv/nkli/cfq%2Camo-%3Dpgd%3F%3B2407%20%3C%3Ekoe%22qpa%3F%20jvvr8--uuu%2Cvgzv/nkli/cfq%2Camo-kocegq-vgzv%5Dnkli%5Dcfq%5DC%5D64%3Az42%2Cekd%20%22%60mpfgp%3F%202%20%22cnv%3F%20Vgzv%22Nkli%22Cfq%20%3C%3E-c%3C');
    /* ]]> */
    </script>

    2) open header.php and remove this;

    <div id="topsearch">
    <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
    <input type="text" value="Search..." name="s" id="ls" onfocus="if (this.value == 'Search...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search...';}" class="swap_value" />
    <input type="image" src="<?php bloginfo('template_url'); ?>/images/btn_search_box.gif" id="go" alt="Search" title="Search" />
    </form>
    </div>

    3) That is an image. Recolor it or replace it as you wish. You will find it defined in the style sheet located here:

    #navbar { margin: 0px auto; padding: 0px; width:938px; height: 31px; background: url(images/navbar.gif) no-repeat;}

    4) The grey sidebar background color is described in the style sheet beginning here:

    lsidebar ul ul { background:#EAEAEA url(images/sidebar-bottom.gif) no-repeat scroll center bottom; padding:4px 11px 11px; }

    Changing #EAEAEA to any other color should work.

    Thread Starter spellz101

    (@spellz101)

    Wow! Thank you so much for such a detailed reply!
    That was awesome! I just followed what you wrote (nothing less, nothing more) and everything worked as I wanted it to!

    Alright this is where I am right now
    CLICK HERE

    Everything is working great, I can change the background, etc, etc, etc

    Here is what I’m having problems with

    1. How do you move the “Feed | Subscribe via Email” to the right? .. Or to a whole different location in general?

    2. Notice how on the right side, the “Archives” is higher then the left side “Categories”… I mean techniclly it should be fixed by the source codes, correct? I go in, I chane it, done.. BUT…

    Code for left:

    <div class="lsidebar">
    <ul>
    	<?php if ( function_exists('dynamic_sidebar') &amp;&amp; dynamic_sidebar(1) ) : else : ?>
    		<?php endif; ?>
    		</ul>
    
    </div>

    Code for right:

    <div class="rsidebar">
    <ul>
    		<script type="text/javascript"><!--
            google_ad_client = "pub-9312294701485395";
            google_ad_width = 125;
            google_ad_height = 1;
            google_ad_format = "125x1_as_rimg";
            google_cpa_choice = "CAEQ6fqXhAIaCO_mwRos0nIlKK2293M";
            google_ad_channel = "2887620906";
            //-->
            </script>
            <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
            </script>
    	<?php if ( function_exists('dynamic_sidebar') &amp;&amp; dynamic_sidebar(2) ) : else : ?>
    	<?php endif; ?>
    	</ul>
    </div>

    See the BIIIIG difference? How do I fix that? =/ I want to move the left column.. up

    Also, what is with the whole “google” thing?
    google_ad_client = “pub-9312294701485395”;
    google_cpa_choice = “CAEQ6fqXhAIaCO_mwRos0nIlKK2293M”;
    google_ad_channel = “2887620906”;

    What in the world is that? Do I need it, or can I remove it?

    Thanks a lot in advance guys! 😀

    Thread Starter spellz101

    (@spellz101)

    Anyone got an asnwer? =/

    Thread Starter spellz101

    (@spellz101)

    No, no body knows? Perhaps I stated the question wrong?

    Okay. I’ll bite.

    Delete this from rsidebar.php:

    <script type="text/javascript"><!--
            google_ad_client = "pub-9312294701485395";
            google_ad_width = 125;
            google_ad_height = 125;
            google_ad_format = "125x125_as_rimg";
            google_cpa_choice = "CAEQ6fqXhAIaCO_mwRos0nIlKK2293M";
            google_ad_channel = "2887620906";
            //-->
            </script>
            <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
            </script>

    With only that done, my test copy of that theme had sidebars with equidistant top margin spacing… with my choice of widgets added to both left and right sidebars…. (no default widgets).

    rss feed icon issue: open the style sheet and find this:

    #searchrss
    float:right;
    margin:0;
    padding:0;
    text-align:right;
    width: 420px;

    change the width to 165px to move it to the right, but note: it still points to the theme authors feed. Not yours. Open header.php and delete this to get rid of it:

    <div id="rss"><a href="http://feeds.feedburner.com/blogohblog">Feed</a> | <a href="http://feeds.feedburner.com/blogohblog">Subscribe via Email</a></div>

    Good luck, peace out, I hate that theme. (just my opinion. I’m sure it’s a perfectly nice theme).

    🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Common WordPress Questions’ is closed to new replies.