Incorporate into a Theme

Permalink Browser Info Environment
I'm developing a theme, and would like to incorporated the Rounded Corners add-on

Rather than going through each page and page-type as has been suggested in other posts, can I add this block and its configuration (CSS selectors and styles) to the header.php file?

My proposed theme is also based upon the C5 Default theme, which has very little colour in it, so would I have to background-colour each div element for this add-on to work, or can I specify a colours for the rounded border?

Type: Discussion
Status: New
fowlesp
View Replies: View Best Answer
jb1 replied on at Permalink Best Answer Reply
jb1
Hi, the way the settings are saved in this block doesn't allow it to be hard coded into a template in the traditional sense (c5's recommended way). However you can certainly hard code references to the js and CSS file in your header along with the css code specific code. The easiest way is just to add the block normally, save the changes and view the source code for the page. This will show you how the final code looks like. Just copy those bits into your header.php file in your theme and remove that temporary block from your page so there's no double ups.

Hope this helps.

JB

- Sent from my iPhone
fowlesp replied on at Permalink Reply
fowlesp
Worked!

Because the add-on genrates CSS, its very to see how to incorporate it into the header, for a consistent look across my site

Thanks
jb1 replied on at Permalink Reply
jb1
Cool, glad you got it. Thanks for the positive review. :-)

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.