Styling of displayed page/post
-
Great plugin!
It really helps me with a number of challenges I have to design the site just as I need it, and I hope you will continue to develop/maintain it (I will certainly use it, I would also pay for it if need be – so that I know it will continue to exist).Current status:
I have no trouble grabbing the post & page titles, featured image, excerpt, author etc. But I do have some trouble with styling the output. So far I have grabbed the image using one shortcode, the title using another shortcode, and the author+excerpt using a third. This was needed to be able to style it kind-of-correctly…I would imagine that styling it should be pretty straight forward, for someone that are used to working with css and such. But for me I am having some trouble.
My question:
How can I use the shortcode with classes to have it display a page/post in a style similar to each entry here: https://avada.theme-fusion.com/blog-grid-full-width/It should be possible to do it by using the avada css classes, no? Or maybe that’s just not possible? If it is possible it would be great to do with just one shortcode, instead of my combination of three…
What I have right now:
This is the shortcode combination I have used for now, to display one specific page.[display-posts post_type=”page” id=”2268″ image_size=”site-wide” include_title=”false” wrapper=”div” wrapper_class=”hover-type-zoomin”][display-posts post_type=”page” id=”2268″ wrapper=”div” wrapper_class=”fusion-carousel-title”][display-posts post_type=”page” id=”2268″ include_title=”false” include_excerpt=”true” include_author=”true” wrapper=”div”]
It is positioned in a 1/3 column so that its size is similar to the style I am trying to accomplish. But all in all I have not been able to get anything as good looking.
There is a great number of css rules available, and in use to display a post like in the example. They are all gathered under the div tag with the “fusion-post-wrapper” class.
Just tossing them all inside of the “wrapper_class” does not really help much, I guess I need to be a bit more tactical…
Suggestions?
- The topic ‘Styling of displayed page/post’ is closed to new replies.