-
AuthorPosts
-
November 9, 2018 at 11:15 pm #1031863
Hi there,
I’m struggling with a few issues on my blog, please can you help me?1. On the Blog Page
i. The Date below the single blog snippet has a pale divider line after it which I don’t want.
ii. Under the Date of the single blog there are 2 separator lines and I would like only 1.
iii. Having trouble showing an exert of the Single Blog, it just says Read more, but I would like an exert too.
iv. In the Grid Blog section, Number of comments is showing and don’t want it to.
2. On the Blog Posts
i. Is it possible to have the date of the post showing?
Is it possible to Justify Format throughout the site? Is there a particular CSS code I should use?
Sorry for the number of niggles…. but thank you in advance for your help!
Best wishes
- This topic was modified 6 years, 1 month ago by Mike.
November 10, 2018 at 6:38 am #1031911Hey hbourdillon,
Q1: (i,ii,iv): Please try this code in the General Styling > Quick CSS field:#top.page .text-sep.text-sep-date,#top.page .post_delimiter,#top.page .slide-meta-comments { display:none !important; }
Q1: (iii): I believe that you are using the advanced layout builder for your blog post, in which case you will need to add your excerpt manually. To enable the manual excerpt field click “screen options” at the top of your page, then check the excerpt box. Then the “excerpt” field will appear at the bottom of the page.
Q2: (i): since I believe you are using the advanced layout builder for your posts you will need to add the “post published” shortcode. Try adding this code to the end of your functions.php file in Appearance > Editor:/*post date shortcode - [post_published] */ function shortcode_post_published_date(){ return get_the_date(); } add_shortcode( 'post_published', 'shortcode_post_published_date' );
and then add this shortcode in a code block element to your post where you want the date to show:
[post_published]
To justify your content for your site, Please try this code in the General Styling > Quick CSS field:
p { text-align: justify !important; }
Then Please clear your browser cache and check.
If this doesn’t fully work, then add the code in the WordPress > Customize > Additional CSS field.Best regards,
MikeNovember 10, 2018 at 12:35 pm #1032004Hi Mike,
Thank you for getting back to me with all of those answers so promptly!
Question 1 – All issues sorted, thank you!
Question 2 – To do with the Justify…
When I use the CSS code that you provided it does justify everything but also moves to the left some things that I still want centralized for example the Page title on the Blog Page is now over on the left and I want that to be in the middle…
Also for the Date short code, I’d like that centralized to as well as a bit smaller…
Is there a short code for Number of Post Views too?
Many thanks again Kriesi!November 10, 2018 at 4:02 pm #1032030Hi,
I would like to recommend another way to target the blog content so it’s justified. I imagine this is your goal, if not then please advise.
First please go to the setting: Enfold Theme Options > Layout Builder > Show element options for developers and enable the option.
Then in your post, that you are creating with the advanced layout builder, the text block that is going to be your content that you want justified, enter this in the custom class field: justify-text
Then add this css in to your Enfold Theme Options > General Styling > Quick CSS field.justify-text p { text-align: justify !important; }
You will be able to add justify-text to as many elements as you like, and it will only effect the elements you wish.
To adjust the date shortcode, please add the custom class date-code in the custom css field of the code block element, and add this css to your Quick CSS:.date-code {font-size: 12px !important;}
please adjust to suit.
To show post views, please try a plugin such as: Post Views Counter, I have not tried this one, but there are many to choose from.
Best regards,
MikeNovember 10, 2018 at 4:35 pm #1032036Mike, you are a star! Thank you for all you help.
If I want to centralize the date under the blog heading on Blog Post, how do I do that?
I tried using the Justify Formatting method you explained above changing “justify” to “center” but it didn’t work….
Thanks again
November 10, 2018 at 5:22 pm #1032043Hi,
Please change your date-code css to this:.date-code { font-size: 18px !important; text-align:center !important; }
Please ensure to add the closing bracket, I forgot to add it above.
Best regards,
MikeNovember 10, 2018 at 6:03 pm #1032050Hi Mike,
Bracket added, thank you.
The title on the Blog Page for the Single Post is now Justifying and I’d like it to be central, is there a code please?
Many thanks again.
November 10, 2018 at 7:28 pm #1032062Hi,
Please try this code in the General Styling > Quick CSS field:#top .fullsize .flex_column .template-blog .post-title { text-align: center !important; }
Best regards,
MikeNovember 11, 2018 at 1:40 am #1032120Perfect, thank you Mike.
Best wishesNovember 11, 2018 at 9:23 am #1032185Hi,
Glad we could help :-)
Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
RikardNovember 11, 2018 at 11:45 am #1032198Hi Rikard,
That’s all for this topic, thank you.
Best wishesNovember 11, 2018 at 4:57 pm #1032240Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘Blog page/post issues’ is closed to new replies.