• Resolved AnnaHavanna

    (@annahavanna)


    Hi,

    I pasted a part of my logo in my right sidebar and I pasted the text below in my style.css. But it is not visible… Any idea?
    goo.gl/mBI59h

    #secondary {
    float: right;
    margin-right: 0px !important;
    width: 18,8%;
    }

    Thanks.

Viewing 6 replies - 16 through 21 (of 21 total)
  • juggledad

    (@juggledad)

    Have you thought about using a theme that shows the sidebar on the right for all pages instead of trying to customize a theme when it seems like you don’t know PHP?

    There are many themes out there to choose from…

    If you want to try modifying the theme, look at the themes index.php and see where the code above is located. Now look at the code arround it. Next go to the page.php and look for the code that would be around the code above and make them look the same.

    Be warned, if you make a mistake in altering the theme’s php code, you could cause your site to not work. Be sure that you are able to access the files via FTP or your host’s cPanel’s file manager before you make any changes!

    You might want to down load a clean copy of the theme so you can replace the file you change if something goes wrong.

    Thread Starter AnnaHavanna

    (@annahavanna)

    Ok, I follow your instructions step-by-step, but my changes had not any effect on my website at all.
    That’s what I did:
    I copied a sidebar.php out of the Twenty Eleven Theme folder. And I renamed it: sidebar-mypersonalfilename.php.
    Now I opened the index.php and copied this between the brackets like
    <?php get_sidebar(‘mypersonalfilename’); ?>
    I uploaded both, but nothing changed. Any idea?

    The reason why I do not choose another theme is because I really like to learn something. And I really appreciate the help of all of you. I already learned so much!

    Where did I said anything about looking at sidebar.php? the only thing I told you to do was to add
    <?php get_sidebar(); ?>
    to your page.php

    remove any changes you just did then edit page.pp and add <?php get_sidebar(); ?> right before the
    <?php get_footer(); ?>
    so you have

    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    Thread Starter AnnaHavanna

    (@annahavanna)

    One quick question before I will try this out: Is the page.php replace when I will update my theme?

    Thread Starter AnnaHavanna

    (@annahavanna)

    Alright. I am already using a child theme. I was a little but confused concerning your answer. Thanks.
    I learned very much via your help in this post.

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Sidebar is not showing at all’ is closed to new replies.