Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Announcement
#11 2017-04-16 12:40:05
- jaser
- Member
- Registered: 2016-05-28
- Posts: 15
Re: Tumblog Style theme.
I realise what you are saying about separating the styles.
But when I do that the articles-page list is 100% width as well as the article.
I want the articles-page list 4 columns of 25% & the article width 100%.
Thanks for your assistance it is appreciated :)
Last edited by jaser (2017-04-16 12:44:11)
Offline
#12 2017-04-16 15:00:53
- colak
- Admin
- From: Cyprus
- Registered: 2004-11-20
- Posts: 6,453
- Website
Re: Tumblog Style theme.
Hi jaser,
You could create a number of style sheets to cater for the different situations. The code below may give you a hint but please do return with any questions you may have.
<txp:hide>General styles used in all cases</txp:hide>
<txp:css format="link" name="default" />
<txp:hide>Styles used in article lists</txp:hide>
<txp:if_article_list><txp:css format="link" name="lists" /></txp:if_article_list>
<txp:hide>Styles used in individual articles</txp:hide>
<txp:if_individual_article><txp:css format="link" name="individual" /></txp:if_individual_article>
Yiannis
——————————
neme.org | hblack.net | LABS | NeMe @ github
Offline