1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Custom design blog can't change

Discussion in 'Blogging' started by jacob8, Apr 7, 2012.

  1. jacob8

    jacob8 Regular Member

    Joined:
    Sep 15, 2010
    Messages:
    237
    Likes Received:
    45
    I just got my blog custom design. Designer asked me where do i need to place the ad and i told him what I wanted. Now I want to add more adds different places, I can't just do it because he need to modify the codes in the template.

    I thought I could just add the ads to anywhere I want without any modifying anything.
    Can someone clear this up for me...
     
  2. dra$tic

    dra$tic BANNED BANNED

    Joined:
    Dec 20, 2010
    Messages:
    393
    Likes Received:
    108
    Is it a WP design? Or HTML/CSS?

    Either way its not that hard to add and remove adverts.
     
  3. MBW007

    MBW007 Junior Member

    Joined:
    Feb 11, 2012
    Messages:
    157
    Likes Received:
    29
    Location:
    In the sandbox. Again.
    The code in the template will have to be modified.
     
  4. jacob8

    jacob8 Regular Member

    Joined:
    Sep 15, 2010
    Messages:
    237
    Likes Received:
    45
    it all there but the designer told me i need to add codes(ad codes) in to sidebar.php and css.
    it wordpress

    can i paste my codes here so you guys can help or not a good idea
     
  5. darkhat99

    darkhat99 Regular Member

    Joined:
    Mar 2, 2012
    Messages:
    488
    Likes Received:
    37
    Occupation:
    Student
    Location:
    Bangladseh
    Ya that a good idea .. post your codes here .. so someone can give you effective suggestions ..
     
  6. jacob8

    jacob8 Regular Member

    Joined:
    Sep 15, 2010
    Messages:
    237
    Likes Received:
    45
    this is my sidebar.php

    <?php
    /**
    * The Sidebar containing the main widget area.
    *
    * @package WordPress
    * @subpackage Twenty_Eleven
    * @since Twenty Eleven 1.0
    */

    $options = twentyeleven_get_theme_options();
    $current_layout = $options['theme_layout'];

    if ( 'content' != $current_layout ) :
    ?>
    <div class="sideBarTop"></div>
    <div class="sideBarMid">
    <div class="sideBarMidInner">
    <?php dynamic_sidebar( 'sidebar-9' ); ?>
    </div>
    </div>
    <div class="sideBarBottom"></div>

    <div class="sideBarTop"></div>
    <div class="sideBarMid">
    <div class="sideBarMidInner">
    <?php dynamic_sidebar( 'sidebar-10' ); ?>
    </div>
    </div>
    <div class="sideBarBottom"></div>


    <?php endif; ?>



    and this my css

    /*
    Theme Name: Pink
    */

    body{
    margin:0;
    padding:0;
    background:url(images/bg.png) repeat;
    font-family:Arial, Helvetica, sans-serif;
    font-size:13px;
    color:#505050;
    }
    a{
    color:#505050;
    }
    img{border:0;}
    #header{
    width:936px;
    height:204px;
    margin:0 auto 15px;
    margin-top:5px;
    }
    #topMenu{
    width:944px;
    height:49px;
    margin:0 auto 15px;
    }
    #topMenuLeft{
    width:12px;
    height:49px;
    float:left;
    background:url(images/barLeft.png) no-repeat;
    }
    #topMenuMid{
    width:920px;
    height:49px;
    float:left;
    background:url(images/barMid.png) repeat-x;
    }
    #topMenuMid ul{
    margin:0;
    padding:0;
    }
    #nav-single{display:none;}
    #topMenuMid li{
    background:url(images/menuDevider.png) left no-repeat;
    list-style:none;
    float: left;
    margin-top:10px;
    height:20px;
    padding-top:4px;
    padding-left:20px;
    padding-right:20px;
    position:relative;
    }
    #topMenuMid li a{
    text-decoration:none;
    color:#fff;
    }
    .noBG{
    background:none !important;
    }
    /**************************dropDown Menu***************************/
    #topMenuMid ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    display: none;
    float: left;
    left: 0;
    margin: 0;
    position: absolute;
    top: 24px;
    padding:0;
    width: 240px;
    z-index: 99999;
    }
    #topMenuMid ul ul li{
    margin:0;
    background:#d26378;
    float:none;
    height: 25px;
    margin: 0;
    padding-top: 8px;
    border-bottom:1px solid #fff;
    }
    #topMenuMid ul ul li a{
    margin:0;
    float:none;
    height: 25px;
    margin: 0;
    padding-top: 8px;
    }
    #topMenuMid ul ul li:hover{
    margin:0;
    background:url(images/dropDownHoverBg.png) repeat-x;
    }
    #topMenuMid ul ul li a:hover{
    margin:0;
    background:url(images/dropDownHoverBg.png) repeat-x;
    }
    #topMenuMid ul li:hover > ul {
    display: block;
    }

    /****************************dropDown Menu*************************/
    #topMenuRight{
    width:12px;
    height:49px;
    float:left;
    background:url(images/barRight.png) no-repeat;
    }
    #topAdd{
    width:936px;
    height:120px;
    margin:0 auto 8px;
    }
    #topAddBgTop{
    width:936px;
    height:6px;
    background:url(images/topAddBgTop.png) no-repeat;
    }
    #topAddBgMid{
    width:936px;
    overflow:hidden;
    padding-top:2px;
    background:url(images/topAddBgMid.png) repeat-y;
    }
    #topAddBgBottom{
    width:936px;
    height:10px;
    background:url(images/topAddBgBottom.png) no-repeat;
    }
    #contentArea{
    width:936px;
    overflow:hidden;
    margin:0 auto 20px
    }
    #left{
    width:220px;
    float:left;
    overflow:hidden;
    }
    .sideBarTop{
    width:220px;
    height:5px;
    background:url(images/SiderBarBigBGTop.png) no-repeat;
    }
    .sideBarMid{
    width:220px;
    overflow:hidden;
    background:url(images/SiderBarBigBGMid.png) repeat-y;
    }
    .sideBarMidInner{
    width:209px;
    overflow:hidden;
    margin-left: 4px;
    }
    .sideBarMidInner ul{
    margin:0;
    padding-left: 20px;
    }
    .sideBarMidInner h3{
    background:url(images/sidebarHeadingBG.png) no-repeat;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: lighter;
    height: 34px;
    margin-bottom: 5px;
    margin-top: 0;
    padding-left: 10px;
    padding-top: 10px;
    width: 199px;
    }
    .sideBarMidInner ul li{
    margin-top:5px;
    list-style-image:url(images/bullet-.png) ;
    }
    .sideBarMidInner ul li a{
    text-decoration:none;
    color:#505050;
    }
    .sideBarBottom{
    width:220px;
    height:5px;
    margin-bottom:20px;
    background:url(images/SiderBarBigBGBottom.png) no-repeat;
    }
    #right{
    width:701px;
    overflow:hidden;
    float:right;
    }
    #contentBigBGTop{
    width:701px;
    height:5px;
    background:url(images/contentBigBGTop.png) no-repeat;
    }
    #contentBigBGMid{
    width:701px;
    overflow:hidden;
    background:url(images/contentBigBGMid.png) repeat-y;
    }
    #contentInner{
    width:681px;
    overflow:hidden;
    padding-bottom:20px;
    margin-left:8px;
    }
    #contentAddfrst{
    width:336px;
    height:280px;
    float:left;
    margin-right:5px;
    }
    #contentAddscnd{
    width:336px;
    height:280px;
    float:left;
    }
    #contentInner h1{
    background:url(images/postHeadingBG.png) no-repeat;
    height:35px;
    padding-top:10px;
    width:661px;
    padding-left:20px;
    font-size:18px;
    color:#fff;
    font-weight:lighter;
    margin-top:0;
    margin-bottom:5px;
    }
    #contentInner h1 a{
    color:#fff;
    text-decoration:none;
    }
    #contentBigBGBottom{
    width:701px;
    height:7px;
    background:url(images/contentBigBGBottom.png) no-repeat;
    }

    #footer{
    width:936px;
    min-height:130px;
    margin:0 auto 20px;
    }
    #footerBGTop{
    width:936px;
    height:6px;
    background:url(images/footerBGTop.png) no-repeat;
    }
    #footerBGMid{
    width:936px;
    overflow:hidden;
    min-height:122px;
    background:url(images/footerBGMid.png) repeat-y;
    }
    #footerBGMidInner{
    width:890px;
    overflow:hidden;
    min-height:110px;
    padding-top:10px;
    margin-left:20px;
    color:#fff;
    }
    #footerRight{
    width:420px;
    min-height:90px;
    float:left;
    }
    #footerRight ul{
    margin:0;
    padding:0;
    }
    #footerRight li{
    background:url(images/menuDevider.png) left no-repeat;
    list-style:none;
    float: left;
    margin-top:10px;
    height:20px;
    padding-top:4px;
    padding-left:20px;
    padding-right:20px;
    }
    #footerRight li a{
    text-decoration:none;
    color:#fff;
    }
    #footerLogo{
    width:269px;
    height:100px;
    float:right;
    }
    #footerBGBottom{
    width:936px;
    height:8px;
    background:url(images/footerBGBottom.png) no-repeat;
    }
    .noPaddingBG{
    padding-left:0 !important;
    background:none !important;
    }