Dave L Posted February 23, 2011 Share Posted February 23, 2011 Hi,I would very much appreciate any help/advice on some changes I'm attempting on my theme.I would like to have white backgrounds with nice rounded corners on the header, column blocks, center column & fotter etc. I would like the spaces in between these to be transparent.The idea is of course so the page background image is visible through the layout.Hope I'm not asking too much.Thanks. Link to comment Share on other sites More sharing options...
logic Posted February 23, 2011 Share Posted February 23, 2011 Example if you want to make the whole page with round corners: Picture 1. use firework or ps make a rectangular with 3 px radius (with width may be 960px, height 300), background sets to transparent; 2. cut it into top, middle and bottom 3 pictures3. save them as top_bg.png, middle_bg.png, and bottom_bg.png;CSS1. .header { background :'url(../img/top_bg.png)';)2. columns {same};3. footer {same};now: If you want all header, columns and footers have round corner, You can use same approach to make the header become 3 sections "top, middle, bottom", and columns "top, middle, bottom" and same for footer. Then do the same thing as above.in the tpl you can put down: original content --> original there ---> new one original content --> original there ---> new one original content --> original there ---> new one Hope this helps. Link to comment Share on other sites More sharing options...
Dave L Posted February 23, 2011 Author Share Posted February 23, 2011 Hi logic,Many thanks for your reply and help.I'm pretty new to CSS code and stuff but I am learning.I think I have the gist of the first part for the css but I'm not quite sure about the .tpl part. Are these edits all 'new' additions to the .tpl files or edits of existing code?Many thanks. Link to comment Share on other sites More sharing options...
logic Posted February 23, 2011 Share Posted February 23, 2011 Hello Dave, No problem, yeah, those "new" means you have to have them in to the .tpl file. You only files you need to change is "header.tpl" and "footer.tpl". The original ones are there already. Link to comment Share on other sites More sharing options...
Dave L Posted February 23, 2011 Author Share Posted February 23, 2011 Many thanks again logic.I'll give this a go and report back how I got on.Could be a while though !!Thanks. Link to comment Share on other sites More sharing options...
logic Posted February 23, 2011 Share Posted February 23, 2011 Good luck. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now