Tagged: blogpost
-
AuthorPosts
-
January 8, 2016 at 12:57 am #561687
Hello there,
I’ve been trying to have our blog posts display with the thumbnail image on the left and the title directly to the right of the image on the same column and row. Ultimately we want it to look very similar to the msn.com home page blog posts on the top section of their landing page. I found several php file updates for changing the title above the image however please advise.
Please see private content below for more specifics.Thanks
January 8, 2016 at 1:28 am #561707Hi tlchase!
Our single author small blog style has that layout, http://kriesi.at/themes/enfold/blog/blog-single-small/.
Best regards,
ElliottJanuary 8, 2016 at 4:01 am #561787Thanks Elliott, I have tried that option and on the “category” page, it is displayed side to side however ive tried that single author small blog style setting when displayed within a column on other pages (like the one on the previous msg) and the image remains on top of the title (with a whitespace to the right of it) and title below. Ive tried inspecting the section and seeing how I can change the css however wothout success.
You can see how that displays on our site, i also checked to make sure I didnt have a quick css that might be conflicting with that blog posy as well.
Thanks again!January 8, 2016 at 5:13 pm #562109Please note that we are trying to have only the image thumbnail size on the left with the title on the right within a 1/4 column without an excerpt. If you look real quick on msn.com , they have that configuration towards the top section of the page.
Thanks again
January 10, 2016 at 3:47 am #562579Hey!
You can hide it with this CSS.
.template-blog .entry-content { display: none !important; }
Also, if you wanted to increase the thumbnail size then you can do so around line 100 in the /enfold/functions.php file.
Cheers!
ElliottJanuary 11, 2016 at 11:26 pm #563555Thank you Elliott, unfortunately I applied the CSS you sent me however it does not seem to update how the blog post is displayed.
I am attaching below an image of how it should display the blog feature image and title side by side as well as the link to the page of our site where the blog post is Single Author, small preview Pic.Thank you .
January 12, 2016 at 4:47 am #563661Hey!
When I view your link now it says, “Error establishing database connection”.
Regards,
ElliottJanuary 12, 2016 at 5:23 pm #564050It should work now.
Sorry about that…
January 14, 2016 at 3:20 am #565153Hi!
Login information does not seem to be working for me now. Can you check it?
The reason it’s displaying in the middle is because your page is set to a fullwidth layout. If you add a sidebar to the page the image will go back to the left.
You can use this CSS inside a codeblock element to hide the sidebar on the page.
<style type = "text/css"> aside { display: none !important; } main { width: 100% !important; border-right: 0px !important; } </style>
Best regards,
ElliottJanuary 14, 2016 at 9:44 pm #565775Thank you Elliott, I went ahead and updated the credentials below
January 14, 2016 at 9:50 pm #565778Please disregard the regular sidebar widget aligning part.
The blog posts is still quirky though. I added the sidebar settings: left sidebar and it doesn’t display on the page without requiring the CSS inside a codeblock element to hide the sidebar on the page however the format of the blog posts is still not correct (side by side)
Thanks!
January 15, 2016 at 4:25 am #565906Hi!
Should be working now.
Cheers!
ElliottJanuary 15, 2016 at 5:37 pm #566230Thank you Elliott, the blog posts look great now however the code block appears to have now created a right hand navigation after the third section. Please let me know what else can remove that new section after the blog posts.
Thank you
January 15, 2016 at 7:28 pm #566302Also, I want to have this same blog post layout throughout other sections and other pages. How would I need to adjust the code in the code block to accommodate this blog post layout elsewhere? I tried adjusting the section within the code but without success. I’m trying to have this layout on the top section of a different page (page link and details below).
Thanks again for all your help and guidance!January 16, 2016 at 4:19 am #566419Hey!
Take a screenshot and highlight what your referring to so we can get a better idea.
Cheers!
ElliottJanuary 19, 2016 at 7:47 pm #568069Hey there Elliott. Thank you for your prompt reply.
I have attached an image link below to better explain what we are trying to achieve regarding the blog post layout being similar to the msn.com top section. We are trying to have a similar look on our landing pages.
The right hand navigation after the third section appears to have disappeared now.
January 20, 2016 at 3:51 am #568340Hi!
Add this to your custom CSS.
#main .avia-button { box-shadow: 0px 2px 5px black; }
If you want to create some spacing between the buttons and the content beneath them then you can add a whitespace / separator element after the button.
Best regards,
Elliott- This reply was modified 8 years, 10 months ago by Elliott.
January 20, 2016 at 7:27 pm #568835Thank you Elliott, I understand. All of your suggestions have been great!
Unfortunately this page is still appearing buggy after the code block was added. I am attaching images below of the two sections that are appearing now. Are these two sections appearing because of the sidebar setting and code block perhaps?I read the enfold documentation for this and I’m trying to better understand the single author small blog style with the image on the left and title on the right. Since the single author small blog style requires a sidebar if the page is fullwidth layout, what CSS inside a codeblock element can I use that will hide the sidebar in order for the single author small blog style to appear with the feature image on left and title on the right ANYWHERE on that page? I was trying the ones you had sent before but without success.
Thank you!!
I’ll go ahead and try to incorporate the single author small blog style to the top section
January 22, 2016 at 3:41 am #569737Hey!
I fixed those with this CSS, https://kriesi.at/support/topic/blog-post-image-and-title-layout/#post-565153, did you remove it again?
Best regards,
ElliottJanuary 22, 2016 at 8:19 pm #570303No, I haven’t changed the code block that you had added on the page. The code block you had added has the following CSS though:
<style type = “text/css”>
#after_section_3 { display: none !important; }
</style>the one from https://kriesi.at/support/topic/blog-post-image-and-title-layout/#post-565153 is a bit different:
<style type = “text/css”>
aside { display: none !important; }
main { width: 100% !important; border-right: 0px !important; }
</style>
I’m not sure what may have occurred however when I tried adding the CSS from post# 565153 to either the code block or quick CSS, it still didn’t remove the Top blank section above the slider nor the right hand navigation menu at the bottom. =(January 26, 2016 at 3:42 am #571831Hey!
Well the top bar your talking about is from the codeblock element. You’ll want to move it down to the bottom of the page.
And you still do not have the CSS I posted here, https://kriesi.at/support/topic/blog-post-image-and-title-layout/#post-565153, in the codeblock. I’ll go ahead and add it again.
Cheers!
ElliottJanuary 27, 2016 at 1:44 am #572486Thanks Elliott, I wasn’t sure since you have the following code on the post you posted on January 14:
<style type = “text/css”>
aside { display: none !important; }
main { width: 100% !important; border-right: 0px !important; }
</style>but you have this one within the code block now:
<style type = “text/css”>
#after_section_3 { display: none !important; }
aside { display: none !important; }
</style>I’m still learning so I wasn’t sure if they had the same effect.
Thank you!
-
AuthorPosts
- The topic ‘Blog Post image and title layout’ is closed to new replies.