Support » Themes and Templates » add page to sidebar

  • Hi. New to word-press.

    The theme was developed for us. I just created a page and want to add it to the sidebar but can’t find the right codex. the theme doesn’t have a sidebar.php archive.

    This is the css file:

    body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}ol,ul {list-style:none;}caption,th {text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:”;}abbr,acronym {border:0;}
    body{font:13px arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}table {font-size:inherit;font:100%;}select, input, textarea {font:99% arial,helvetica,clean,sans-serif;}pre, code {font:115% monospace;*font-size:100%;}body * {line-height:1.22em;}

    body {
    background: #0075c4; }

    a {color: #006296;}

    #wp {
    width: 920px;
    margin: 20px auto;
    background: #6fc2d9 url(“image.png”) no-repeat 750px 200px;
    border: solid 20px #006296; }

    #wptr, #wptl, #wpbl, #wpbr {
    width: 50px;
    height: 50px;
    position: relative;
    background-image: url(‘border-out.png’); }
    #wptr {
    margin: -20px -20px 0 0;
    background-position: top right; }
    #wptl {
    margin: -20px 0 0 -20px;
    background-position: top left; }
    #wpbr {
    bottom: -20px;
    background-position: bottom right; }
    #wpbl {
    bottom: -20px;
    background-position: bottom left; }

    #side {
    width: 228px;
    position: relative;
    margin: -20px 10px 20px 10px;
    padding-bottom: 120px;
    background: url(‘buzo.png’) no-repeat bottom center; }

    #menu {
    margin-top: 15px; }
    .inner {
    background: #54afd4; }
    .innertr, .innertl, .innerbl, .innerbr {
    width: 20px;
    height: 20px;
    background-image: url(‘border-inn.png’); }
    .innertr {
    background-position: top right; }
    .innertl { background-position: top left; }
    .innerbr {
    background-position: bottom right; }
    .innerbl { background-position: bottom left; }

    #menu ul {
    position: relative;
    margin-left: -30px; }
    #menu li {
    padding: 2px 2px 2px 0; }
    #menu a {
    padding: 2px 15px 2px 45px;
    text-decoration: none;
    color: #003c5a; }
    #menu a:hover {
    font-weight: bold;
    background: #0075c4 url(‘menu-end.png’) no-repeat center right;
    color: #fff; }

    #galleria {
    margin: 0 30px 20px 0;}
    #img-gallery .one-image {
    margin-left: 20px;
    float: left; }

    #ctarea {
    margin-left: 255px; }

    #ctarea h2 {
    color: #006296;
    font: bold 18px Georgia,”Times New Roman”,Times,serif; }
    #ct {
    width: 450px;
    padding: 10px;
    background: #fff;
    border: solid 3px #006296;}

    #ct p {
    margin-bottom: 10px; }
    #ct strong {
    font-weight: bold;
    color: #006296; }
    #ct em {
    color: #006296; }

    #ct ul.posts li a {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    padding-left: 15px;
    background: url(‘bullet.png’) no-repeat top left; }

    #ct #subimgs {
    margin-top: 20px; }

    #ft {
    clear: both; }

    sorry, maybe this is really basic but I can’t work it out….


Viewing 3 replies - 1 through 3 (of 3 total)
  • CSS is just used to style your page, change colours etc, so that isnt what you need to be looking at here.

    If you give us a link to your site it will be easier to help, but if you dont have a sidebar.php, is the list of pages in your header area?

    If the new page hasnt automatically been added to the list along with your others, then you arent using a function, so the pages will be listed manually, you need to look for something in your files that has this structure, but with your page names.

    <li><a href="http://.........">Page one</a></li>
    <li><a href="http://.........">Page two</a></li>
    <li><a href="http://.........">Page three</a></li>

    then you need to add another line with your new page’s name and address, but first a link to your site will help

    thanks. I’ve been looking for files with that struture somewhere for the last two days, but can’t find them.

    my page is:

    thanks again!!

    ok! found it!

    it was on a header.php file in the theme folder. Thanks for the tip!!


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘add page to sidebar’ is closed to new replies.