Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Custom CSS for a blog post
I made a post recently which had some extra formatting. i used notextile. to embed some custom CSS, but for some reason this ended up clogging the meta data when i tried to share it on facebook. moving forward, has anyone used a particular technique for using a special stylesheet for a blog post? thanks.
Offline
Re: Custom CSS for a blog post
how about using custom fields and have this in the <head> ?
<txp:if_custom_field name="css">
<link rel="stylesheet" type="text/css" href="css.php?n=<txp:custom_field name="css" />" media="all" />
</txp:if_custom_field>
(not tested)
Last edited by JanDW (2010-05-13 17:22:47)
TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX
Offline
Offline
Re: Custom CSS for a blog post
TNT wrote:
TXP Tips has an article on this.
thank you – it is referencing exactly what i was looking for as well (heavily designed posts).
Offline
Pages: 1