-
Author
Tagged: kleo posts styles
-
July 13, 2015 at 03:03 #67953fikishParticipant
Hi all… first time poster!
Is there a way to ensure all posts use the “alternate color” style rather than main style in KLEO?
Not the page that lists posts but the posts themselves!Any help much appreciated!
July 13, 2015 at 15:18 #68024sharmstrModeratorThere is, but I wouldnt suggest it because it involves custom copies of Kleo files that will certainly change in the future. You’ll have to constantly keep track of code changes. Trust me, this is a pain.
What’s the reasoning? Perhaps custom css would work better.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
July 13, 2015 at 23:04 #68086fikishParticipantThanks sharmstr
I use my main theme all through my front page and other pages, it’s a dark theme. When I got articles (aka blog) it looked better with my lighter pre-set alternate theme, light background, font colors etc but I don’t want to switch main-style and alternate-style to accomodate this now. My site is riddled with main-style/alternate-style rows so it’s a big effort going through the site and changing every single one around manually now to accommodate for a lighter look in the blog.Yes I believe my only option is to manually css it up although I’m not sure how/what encapsulates all the post pages themselves.
July 14, 2015 at 13:15 #68190sharmstrModeratorTry this. Copy /page-parts/general-before-wrap.php and /page-parts/posts-social-share.php to your child theme. In general-before-wrap, change this
COPY CODE<section class="container-wrap main-color">
COPY CODEif (is_single()) { <section class="container-wrap alternate-color"> } else { <section class="container-wrap main-color"> }
In posts-social-share.php change main-color to alternate-color.
In the long run, you’ll be better off going back through your pages and changing the row styles.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.