-
AuthorPosts
-
November 25, 2013 at 7:56 am #192802
The magic wand does not show the option for posts for a color section like you can do in pages.
Is this normal?
If it is impossible then where could I create a new Layout for posts and add the code manually?
By Layout I mean a custom layout for a right sidebar for exampleEDIT: and by color section I meant the parallax effect of a fixed background
EDIT2: I made a custom post layout using the custom post template plugin and added the code manually and it works but I still wonder why the option is unavailable for posts? Is this a limitation of the theme or of wordpress?November 25, 2013 at 9:55 am #192833Hey Monsoon!
It’s a theme limitation. The color section and all other “fullwidth elements” (namely the LayerSlider, the fullwidth masonry element and the fullwidth slideshow) require a special html structure which is not compatible with the standard html code of posts and pages. If a fullwidth element is used the “Advanced Template Builder” will use a special wordpress page template (/wp-content/themes/enfold/template-builder.php) to create the fullwidth sections. A simple shortcode within the standard post/page content does not allow us to call the special template and thus we don’t allow the user to use the magic wand to embed a color section and it’s only available as a “Template Builder” element.
Best regards,
PeterNovember 25, 2013 at 9:02 pm #193151Thanks for the response, that s what I thought.
So I made a new layout for certain posts, then I rendered a page with the parallax effect, then copied the code an inserted it in the new layout I made. This requires a little work and I could describe it more in details if someone needs it but now I have a parallax effect for some of the posts I want that use that custom look.I can now make a handful of looks where there is a large parallax background on the top of some of the posts. When a post is about “Restaurants” for example, I pick the layout that has the parallax effect with a large image of the inside of a restaurant. When I have a post about a movie theater I pick the layout for posts with a Large theater background image…maybe an idea to incorporate in a future version as custom posts layout is really helpful
November 27, 2013 at 10:12 am #193775Hey!
I like the use case example. Makes sense to have some options for post styling but I think there needs to be a different implementation than how the advanced layout editor works with pages so that a user wouldn’t potentially lose blog post data/formatting when switching themes.
I’ll bring it up for a future release and see if we can come up with something.
Regards,
Devin -
AuthorPosts
- The topic ‘Enfold – How do you apply a "Layout element color section" to a post?’ is closed to new replies.