a little help on it...background picture and sidebar (4 posts)

  1. roscai
    Posted 10 years ago #

    i´m new of course...
    can someone tell me how can i change the background of my pages. i vant to set up a watermark picture on the background of some pages. what should edit?
    and something else... i want to disable sidebar on certain pages how can i make it. i have only one sidebar.
    thank and hope thhat is not a stupid request.
    pd. i have a litle ideea of php

  2. moshu
    Posted 10 years ago #

    Please, help us to help you :)
    A link is always welcome. What theme are you using?
    Did you check the Blog_Design_and_Layout section of the Codex?
    Or... if yu are that new - it's good to start with the basics: Getting_Started_with_WordPress

  3. roscai
    Posted 10 years ago #

    i´m using bluehorizon theme. the blog is not online i´m learning and make modifications on a local machine. i check all codex pages but didn´find the answer of what i´m asking.
    now the theme has a white background. page php loocks like this:
    <?php get_header(); ?>

    <div id="static">

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div class="post">
    <h3 id="post-<?php the_ID(); ?>"><?php the_title(); ?></h3>
    <div class="entrytext">
    <?php the_content('<p class="serif">Read the rest of this page »'); ?>

    <?php link_pages('Pages: ', '', 'number'); ?>

    <?php endwhile; endif; ?>


    <?php get_footer(); ?>

    and the same source opend in html like this:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

    a:link {font:8pt/11pt verdana; color:red}
    a:visited {font:8pt/11pt verdana; color:#4e4e4e}
    <meta HTTP-EQUIV="Content-Type" Content="text-html; charset=Windows-1252">
    <title>HTTP 404 No encontrado</title>

    function Homepage(){

    // in real bits, urls get returned to our script like this:
    // res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm

    //For testing use
    //DocURL = "res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm"

    //this is where the http or https will be, as found by searching for :// but skipping the res://
    protocolIndex=DocURL.indexOf("://", 4);

    //this finds the ending slash for the domain server
    serverIndex=DocURL.indexOf("/", protocolIndex + 3);

    //for the href, we need a valid URL to the domain. We search for the # symbol to find the begining
    //of the true URL, and add 1 to skip it - this is the BeginURL value. We use serverIndex as the end marker.
    //urlresult=DocURL.substring(protocolIndex - 4,serverIndex);
    BeginURL=DocURL.indexOf("#",1) + 1;
    urlresult=DocURL.substring(BeginURL, serverIndex);
    if (protocolIndex - BeginURL > 7)

    //for display, we need to skip after http://, and go to the next slash
    displayresult=DocURL.substring(protocolIndex + 3, serverIndex);

    var aElement = document.createElement("A");
    aElement.innerText = displayresult;
    aElement.href = urlresult;


    function doSearch()

    function initPage()
    document.body.insertAdjacentHTML("afterBegin","<object id=saOC CLASSID='clsid:B45FF030-4447-11D2-85DE-00C04FA35C89' HEIGHT=0 width=0></object>");


    <body bgcolor="white" onload="initPage()">

    <table width="400" cellpadding="3" cellspacing="5">
    <td id="tableProps" valign="top" align="left"><img id="pagerrorImg" SRC="pagerror.gif"
    width="25" height="33"></td>
    <td id="tableProps2" align="left" valign="middle" width="360"><h1 id="errortype"
    style="COLOR: black; FONT: 13pt/15pt verdana"><span id="errorText">No se encontró la página</span></h1>
    <td id="tablePropsWidth" width="400" colspan="2"><font
    style="COLOR: black; FONT: 8pt/11pt verdana">Puede que la página solicitada ya no exista
    haya cambiado de nombre o no esté disponible temporalmente.</font></td>
    <td id="tablePropsWidth2" width="400" colspan="2"><font id="LID1"
    style="COLOR: black; FONT: 8pt/11pt verdana"><hr color="#C0C0C0" noshade>
    <p id="LID2">Pruebe lo siguiente:


    <h2 id="ietext" style="font:8pt/11pt verdana; color:black">HTTP 404 - Archivo no encontrado<br>
    Internet Explorer <BR>


    the big question is how i edit the line :
    <body bgcolor="white" onload="initPage()">

    or i don´t know...give me a solucion pls.

  4. moshu
    Posted 10 years ago #

    1. Sorry, this is not bluehorizon.
    2. I have no idea what those scripts and tables are, so I can't say anything to help.
    3. To edit the bgcolor, change "white" to a hex color code, look around here: http://hotwired.lycos.com/webmonkey/reference/color_codes/

Topic Closed

This topic has been closed to new replies.

About this Topic