follow this link. in this it will show you how to edit the rwd. i hope this will help you..
Step 1 – Create your Directory Structure
Once you have Sass and Compass installed you will need to find the responsive theme code, which are located in the following directories:
Notice that ‘rwd’ is a whole package that has inside a theme called ‘default’.
2 Now, you must create the directories for your new custom package which will be based on the rwd package:
3 Create an ‘etc’ directory in the location below
4 Create a theme.xml file in the location below
- Add the following code to the theme.xml file to configure the theme fallback
Step 2 – Copying the files
1 You must copy all the images files from:
2 You can copy all the scss files from:
Although this approach will result in having duplicates of files that you will never want to edit. So after you copy all of the files, you can delete the following folders:
After you delete these folders from you theme, they will fallback on the RWD default theme, See the fallback structure.
Make sure you copy the file config.rb which is required by compass in the location below:
Put the following code inside config.rb, make sure you change “yourpackagename” and “yourthemename” for your own directory names.
# note: this should never truly be referenced since we are using relative assets
http_path = "/skin/frontend/yourpackagename/yourthemename/"
css_dir = "../css"
sass_dir = "../scss"
images_dir = "../images"
relative_assets = true
output_style = :expanded
environment = :development
You have to copy only the files that you would want to override from:
The best practice for changing magento layouts is using a local.xml file.
Step 3 – Configure Magento Admin
Now in the Magento Admin Panel go to
System > Configuration > GENERAL > Design
In Package, in the Current Package Field put yourpackagename
In Themes, in the Default field put yourthemename
And click Save Config button at the top.
You may have to flush the cache from
System > Configuration > Cache Management if prompted.