• Resolved jjgp

    (@jjgp)


    Hi, I was just wondering how i could completely delete the content in the sidebar and put the navigation just under the header. I am currently using the default theme and want to give it a completely new look.

    The sidebar will be used for google adwords. Any tips for placeing the code provided by google so that it appears in the sidebar will also be very helpful.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi jjgp, to put AdSense ads in the sidebar, you will need to edit the sidebar.php file corresponding to the theme you are using.

    If you want to have the navigation just under the header, I would recommend you get the BLIX theme here:
    https://www.kingcosmonaut.de/blix/

    If you are looking into putting adsense in your posts as well, AdSense Deluxe is a very useful plugin.

    I use both the BLIX theme and AdSense Deluxe on my sites with AdSense.

    Hope this helps, ash
    https://ashpics.com/blog
    https://techpaedia.com

    Thread Starter jjgp

    (@jjgp)

    Thanks but just one other thing. How do i get rid of the search box, i need the entire nav bar for page links.

    I was also wondering how long is takes to get a gmail account once i sign up on your blog

    If you look into the header.php file for the BLIX theme, you will find these lines of code
    CODE STARTS

    <!-- navigation ................................. -->
    <div id="navigation">

    <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="get">
    <fieldset>
    <input value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" />
    <input type="submit" value="Go!" id="searchbutton" name="searchbutton" />
    </fieldset>
    </form>

    <ul>

    CODE ENDS

    Simply add <!-- before <form action= and --> after </form> in as below:

    CODE STARTS

    <!-- navigation ................................. -->
    <div id="navigation">

    <!-- <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="get">
    <fieldset>
    <input value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" />
    <input type="submit" value="Go!" id="searchbutton" name="searchbutton" />
    </fieldset>
    </form>
    -->
    <ul>

    CODE ENDS
    This should get rid of the search box completely.

    About the gmail invite from TAB, I can send you one now or usually within 1 day.

    Search is really useful for your users, I would consider keeping it, they might appreciate it more than a bunch of links ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Newbie: delete sidebar, menu under header’ is closed to new replies.