WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Modifying the Header/Banner (9 posts)

  1. halhajmi
    Member
    Posted 5 years ago #

    I need to change the theme's pre-installed banner. In the stylesheet area, there's a note that says:

    You need to make this file writable before you can save your changes. See the Codex for more information.

    I read the Codex and in the said article it says:

    In a WordPress install, two files that you will probably want to alter are the index page, and the css which controls the layout.

    I already changed index.php to 666. But I can't find print.css (screen shot). Does changing the file permission of print.css to 666 help me change the theme's banner? If so, where can I find it?

  2. halhajmi
    Member
    Posted 5 years ago #

    I used the search option in SmartFTP to find print.css. I found 5 files. I changed all permission to 666 but I am still receiving this msg:

    You need to make this file writable before you can save your changes. See the Codex for more information.

  3. halhajmi
    Member
    Posted 5 years ago #

    bump

  4. MoTStudio
    Member
    Posted 5 years ago #

    To be honest, you kind of confused me here.

    Let me see if I can help both of us get untangled.

    You say you need to change the banner image, right?

    To change the banner image, you might need to change coding in one of two key areas:

    1) In the style.css file. More than likely, there's some sort of coding there related to the appearance of the header.

    2) In the header.php file. More than likely, there's some XHTML coding that might have something to do with the insertion of the header code.

    Depending on what theme you're working off of, you might need to change the PHP coding.

    So.

    First things first.

    What theme are you using and if you have your theme uploaded to your WP site and it's running, can you link to it so we can see?

    Changing headers depends on the different themes so without knowing what theme, we can't really help you except for giving you vague answers.

  5. MoTStudio
    Member
    Posted 5 years ago #

    Additionally, if your files are all read-only, open up the files on your local harddisk and click on the 'Properties' and UNcheck mark the box that makes the file read-only and then upload the newly writable files to your theme folder on your WP site.

    And one more thing - if you edit the file names, you need to edit the code that points to the file name. Unless you're doing some really complex stuff with your WP installation, I suggest LEAVING the index.php file named as index.php and LEAVING the style.css file named as style.css.

  6. halhajmi
    Member
    Posted 5 years ago #

    Thank you MoTStudio. Sorry for the confusion. First, this is my site http://hammedonline.tk/

    I'm using this link to help me. http://themehybrid.com/themes/visionary/header

    It says:
    You’ll be working exclusively with your style.css file. There’s no need to edit anything else.

    When I go to theme editor, it says:
    You need to make this file writable before you can save your changes.

    I don't know how to make the file writable. I read the Codex http://codex.wordpress.org/Changing_File_Permissions, but I'm lost.

  7. MoTStudio
    Member
    Posted 5 years ago #

    Ahhhhh ha. I see.

    Okay, so you need to make all the theme files writable. You can do this by a few different methods. If you're not familiar with using FTP to make changes to your files, then download a copy of the Visionary theme to your local computer that you're using (if you already downloaded a copy, use that copy) and change the file permissions there.

    How you do this is going to depend on what operating system you're using.

    For Windows, the easiest way to change file permissions is to right click on the folder that contains the theme and that theme only and click on 'Properties' and click on the check mark next to 'Read Only' in the 'Attributes' section (NOTE: A check mark means that the file IS read-only and NO check mark means that the file is writable) and click on 'Apply' and when it asks you if you want to apply the settings to all the files in the folder, click on 'Yes'.

    Once the file permissions are changed so that they are NOT Read-Only, you can reupload this theme to your theme directory and you should be able to edit the theme.

  8. halhajmi
    Member
    Posted 5 years ago #

    Thank you, MoTStudio.

    I did what you told me. I right click on the folder that contains the theme and that theme only and click on 'Properties' and click on the check mark next to 'Read Only' in the 'Attributes' section.

    I then reinstalled the theme. But I am still getting this message:

    You need to make this file writable before you can save your changes. See the Codex for more information.

    I'm using SmartFTP, how do I make the file writable using FTP?

  9. halhajmi
    Member
    Posted 5 years ago #

    I've found the solution:

    http://www.themelab.com/2008/04/11/how-to-make-wordpress-themes-writable/

    Thanks again MoTStudio for the help.

Topic Closed

This topic has been closed to new replies.

About this Topic