November 16, 2017 at 8:53 am #213639
I have included a custom style sheet in the header (simple hooks), but I've noticed that post drafts are ignoring or at least not seeing the custom style sheet. Is there an easy way to fix this?November 16, 2017 at 2:43 pm #213649November 17, 2017 at 7:38 am #213665
That seems so backwards to me, part of the preview is to see what a post will look like before its posted.November 17, 2017 at 8:55 am #213673
The current WordPress editor has a lot of shortcomings. When WordPress 5.0 is released next year, Gutenberg will be the default editor. The entire content entry landscape is going to change. If you install the Gutenberg plugin, you'll see what the future holds.
November 17, 2017 at 12:47 pm #213682
Ok so its still not working. I published a post and its still not picking up the custom CSS. I have added code in the genesis simple hooks to output a specific menu and header, but on the posts its ignoring it.
The three hooks I'm using are as follows:
Suggestions on how to fix this?November 18, 2017 at 5:33 am #213705
You're confusing me. A specific menu and header is not CSS. Headers and menus are PHP. And if you want a specific header and menu on a post, you have to remove the current header and menu and replace it with the new. All of this has to be wrapped in the is_singular() conditional.
If you really are talking about CSS, you don't use Genesis Simple Hooks for this. And you certainly would use a style sheet in genesis_before or genesis_after. Please try to explain in more detail what you are actually trying to do. What do you want to happen when viewing a post?
November 20, 2017 at 7:08 am #213782
I have CSS that formats the page, the formatting is being ignored on the actual blog page.November 21, 2017 at 9:35 am #213827
I have the following showing up in the single blog page:
<link rel="stylesheet" type="text/css" href="http://www.palmeacres.com/styles.css">
I checked the source so its there, but in the post itself I have the following:
That styling is being ignored completely. I know it works because I'm also using in on a page and that is displaying just fine.November 21, 2017 at 9:35 am #213828
crap it posted the image and not the code sorry:
<img style="float: right; margin: 0px 0px 20px 20px;" src="http://www.palmeacres.com/wp-content/uploads/2017/11/hereford_herd.jpg"></p>
in the image you will notice its right justified and smaller in size. However the blog post shows the image as large as the page itself.November 22, 2017 at 1:22 pm #213877
Why not just add page specific styling with page classes to the existing style sheet?
Adding another style sheet to load is inefficient.
If you need technical support for your theme please file a ticket.
The forums are community based. Staff only monitors the forum for issues relating to the forum itself and to redirect users to where they need to go.
You must be logged in to reply to this topic.