change page type layout
Permalink 1 user found helpfulIs there an easy way to add a new page type with different size sidebars ?
The actual issue I have is that I have an image that looks too small in the block (page type right side bar) so I want to make the block/sidebar bigger
thanks
I'm guessing that I could create themes with photoshop, indesign or such but I don't understand how these link in with page layouts.
Can anyone recommend video/book/website that gives an high level / idiot guide to how it all comes together and explains the terminology themes, page layouts, icons (concrete5 or in general)
I appreciate any help/advice ....Thank you for your patience!
Use Layouts to Position and Align Content
http://www.youtube.com/watch?v=Ymu7c35CD3g&feature=related...
Then go to the menu section of the file, and change the name of the class. This is an example of what I did for 3 columns (just example) - I called my class - split2
Add this file to the folder.
Then in the /concrete5/themes/(the theme you are using)/style.css I
add
You should only have to worry about making a new content and sidebar. You should just change the width to whatever you want for the sidebar. Currently at 273 (for my theme) - so just add "width: 300px" under your ".newClass" #sidebar. Remember that float:right or left depends on if you want the sidebar on the left or right side. Also removed the added pixels from the .newClass #content to have it not be longer then it was so it should be around 570- 27(300-273) = 543.
Upload to server. To add a new image to match this page type upload to concrete/images/icons/page_types and they will be shown in the dashboard.Please note that you must upload them to the concrete folder (someting you should never do) - Which a forum discuss athttp://www.concrete5.org/community/forums/customizing_c5/page_type_... - You do not have to do this but just for readability. Then go to the Dashboard- Pages and Themes - Page Types. Then click "Add a page type" - Then under name if you used stretched_left_sidebar.php as the name put - "Stretched Left Sidebar" and under the handle must match the file name exactly "stretched_left_sidebar" - then select the icon for the page type. and Click Add, and your Done! Hopefully this helps