Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter Gerry MacOstair

    (@gerry-macostair)

    All right, this issue is either too exotic or not relevant to the majority of WP users. I will mark the thread as “resolved”. I rebuilt both sites in another CMS already.

    No problem, just mark the thread as “resolved” so other users will know there are potential answers to the matter.

    You are so right, esmi. It’s really time to put a stop to our little “CSS 101” in this thread.
    Let me just say this to Danni before we close the case:
    Rename your “style.css” to “style2.css”, copy the original “style.css” into your theme directory. Then open both files in your ASCII editor, and copy all portions that already worked into the fresh copy. That should get you back on track.
    Since you know my name, you will also find my contact form on the web. So, if you happen to run into further trouble with this project, just give me a shout.
    Good Luck,
    Gerry

    “Cat menu bar”: since it’s still in place (in the source code), I suppose you deleted the rule(s) from the CSS.
    The rule for the cat menu list is,

    #catmenu ul
    {
            (...);
    	list-style: none;
    }

    The attribute:value pair in the example hides the bullets.

    Never delete anything until completion. Simply use CSS /*comments*/ to hide settings, or repeat the rule you want to overrule with new settings right beneath it.

    “Social Icons”: Change #social a to look like so:

    #social a
    {
        border:0;
        display:block;
        float:left;
        margin:5px 0 5px 20px;
        padding:0;
    }

    All CSS settings in style.css, of course.

    The (1): Open footerbar.php in your ASCII editor.
    Then replace
    <span class="alignright"><?php comments_number('(0)','(1)','(%)'); ?></span>
    with
    <!-- <span class="alignright"><?php comments_number('(0)','(1)','(%)'); ?></span> -->

    That’s not the most elegant way of handling things, but the easiest for you to undo, should your customer decide she wants to have the number of comments displayed again.

    Thread Starter Gerry MacOstair

    (@gerry-macostair)

    Meanwhile, I have tried to reproduce this curiosity in 7 different browsers, and it occurs in each of them. It sometimes works, and sometimes it won’t. So it’s arguably not to do with the browser.

    HTML and CSS validation both throw quite a load of errors, but none that would account for this behaviour – as far as I could say.

    Oh, just in case you don’t want the image to be repeated:
    background: #ffffff url(images/sb-bg.png) top left no-repeat;
    G.

    Say, you want an image called sb-bg.png and a fallback background colour of white (in case the image won’t show in a browser, because of specific configuration or such).

    Place image inside …/themes/fabulo/images/

    Go to …/themes/fabulo > find style.css
    Open it in an ASCII (plain text) editor, look for and edit #sidebar, like so:

    #sidebar{
    [various attribute:value pairs already there];
    background: #ffffff url(images/sb-bg.png);
    }

    Good Luck,
    Gerry

    Danni,
    I just downloaded “Coffee Time” and there is no problem with single post pages and sidebars. The link you provided shows an overview page, which are set to display content just the way your example shows. “Archive Pages” are not meant to show a sidebar in this theme.
    It appears that this theme is one of those which support widgets on the home page only.
    As for the “homepage link at the top”, this might answer your question.

    You may want to check “Fabulo”, that’s the theme used for wprocks dot com. It features a sidebar on all pages, and the widgets do also work smoothly.
    Good Luck,
    Gerry

    Just to get to grips: “test site” still means macpctips dot com/calvary/, and “live site” means thecalvaryfamily dot org/ ?

    It doesn’t matter which company is hosting your WP instance. It’s a matter of logic, not of technology.
    Your “‘Home’ button” may read “Home” or “Start” or whatever you please – that’s just a “label”, so the users know which way to go. As long as its “guid” value (in the data base) equals your domain, it will point to the home page.

    (The test installation in a /home directory won’t cross your way – this time – as none of the links in the menu bar point to it.)

    And if it has the lowest order number it will appear first in line.
    It’s the same with all CMS I have come across so far.
    If all pages have the same order number (0 by default), usually the one which was created first will show first.
    There are only seven pages on the parent level of your live site.
    Create your “Home” page as you did on the test site (it too will get 0 by default, and probably appear last in line), then appoint order number 1 to “About”, 2 to “Messages” and so on … and Number 7 to “Testimonies”. “Home” (still having the default 0) will then appear on the far left end of the line.

    Good, then this thread should be marked as “solved”.

    Oh, I didn’t advise you to enter a value “home” as “post_name”. This triggers WP to call a page called “Home”. Leave that field empty and everything should work as intended.

    Do you “try to arrange” your menu via the “Page Attributes” on the “Edit Page” interface of the page in question? I just tried it with your theme, and no error was thrown. Everything seems to work just fine. What do you mean by “trying to put”?

    macgig,

    Basically, there are two ways to go about this.
    As for the one mentioned in that post you refer to, I would look for div class="navbar" in “functions.php”, inside the directory of your theme.
    Most themes seem to call that div “menu”, yours obviously calls it “navbar” though.
    The other way, if you don’t want to mess with the code, were to make the change directly in your data base. Here’s how:
    Access your data base and open the table called “posts”. Then press “Insert”. Enter “Home” (or whatever you want to call it) as the value of “post_title”, enter your domain (like, http://macpctips.com/) as the value of “guid”, and, finally, change the value of “post_type” to “page”. Now, save these changes, and return to your front end. The new button should appear, yet probably not on the far left. To get it there, enter the menu “All Pages” in the admin section, and change the “order” of your pages the way you want them to appear. Give “Home” a 0, “About” a 1, Messages a 2, etc …
    Looks like a lot of work, but may be done inside of a minute.
    Hope that helps,
    Gerry

Viewing 13 replies - 1 through 13 (of 13 total)