-
AuthorPosts
-
May 17, 2017 at 4:07 pm #794938
Hi
My client would like her list blog page to look like this one: http://meandorla.co.uk/blog/
Is there a quick way to make CSS adjustments to any one of the Enfold bog layouts without having to switch to using the layout builder?
The current blog layout can be seen here: http://www.herbalhealinginc.com/blog
Thanks
LyseMay 18, 2017 at 10:07 pm #796193Hey tremblayly,
We are afraid not.
There are changes that you can do, but it would require some advanced CSS
The best option is to consider hire someone to help you out with those.Please feel free to let us know if there is anything else we can do for you.
Best regards,
BasilisMay 18, 2017 at 11:11 pm #796222Hi Basilis,
I thought something similar to what was proposed in this ticket here could have helped:
https://kriesi.at/support/topic/blog-style-layout-with-big-preview-pic/Thanks
LyseMay 19, 2017 at 9:27 pm #796781Hi Lyse!
Can you please switch Blog Style to “Single Author Big”, add featured image to your posts and then try adding following code to Quick CSS
@media only screen and (min-width: 767px) { .html_elegant-blog #top .big-preview { width: 50%; float: left; margin-right: 50px; }}
Best regards,
Yigit- This reply was modified 7 years, 7 months ago by Yigit.
May 19, 2017 at 10:36 pm #796827Hi Yigit,
I updated my blog style to be Elegant instead of the default, switched to Single Author Big Preview, and looked at an existing post that already uses a featured image.
Here’s what I see: http://www.herbalhealinginc.com/blog/page/2
Doesn’t quite look like what my client wants, but close. How to be the featured image on the blog list page to have a different size?
Thanks
LyseMay 19, 2017 at 10:48 pm #796831Hi Lyse,
Please add following code to Quick CSS as well
.blog .entry-content { width: 42%; float: left; }
I believe it would be better if you disabled sidebar on your blog page. Then please try the following:
1. Install this plugin: https://wordpress.org/plugins/simple-image-sizes/
2. Go to Settings > Media
3. Change theentry_without_sidebar
image size (increase its width / height). (“entry_with_sidebar” in case you would not like to disable sidebar)
4. Regenerate the thumbnails by clicking the button at the bottom.Best regards,
YigitMay 20, 2017 at 12:05 am #796852Hi Yigit,
I changed the blog page layout to use “no sidebar”, however it still displays the sidebar. I’m thinking this is only for the list of blogs, not each single blog page where I would like sidebars. Then I tried to be page ID specific but it did not do it either. See the CSS I added here:
.page-id 731 .sidebar {
display: none;
}Thanks
LyseMay 20, 2017 at 12:06 am #796854Hey Lyse!
Can you please create a temporary admin login and post it here privately so we can look into it? :)
Best regards,
YigitMay 20, 2017 at 12:33 am #796856Hi Yigit,
Sure, see below.
I’m also trying to put the post meta info up higher and remove the vertical delimiter with the following code:
.post-meta-infos {
display: block;
font-size: 0.9em;
position: relative;
top: -330px;
}
.html_elegant-blog .av-vertical-delimiter {
display:none!important;
}Thanks
LyseMay 22, 2017 at 7:16 am #797421Hi,
To remove the sidebar, just add this custom CSS code:
.blog .sidebar_right { display: none !important; }
And to adjust the width to 100%, add the following code:
.blog .av-content-small.units { width: 106% !important; }
Best regards,
John TorvikMay 22, 2017 at 3:23 pm #797693HI John,
That did not work.
Lyse
May 22, 2017 at 3:27 pm #797697Hi Lyse,
Login credentials did not work for me. Can you please check them once again? :)
Best regards,
YigitMay 22, 2017 at 3:33 pm #797702Hi Yigit,
I have reseted the password and added it again below. Please try again.
Thanks,
LyseMay 24, 2017 at 2:24 pm #798904Hi,
I added some more custom CSS code to the top of your Quick CSS field. Please review your website :)
Best regards,
YigitMay 24, 2017 at 6:47 pm #799080Hi Yigit,
I like it!!!!
I added the following to center the text:
.page-id-731 p {
text-align:center;
}Can I go ahead and removed the following CSS code from my custom stylesheet in my child theme:
.html_elegant-blog #top .big-preview {
width: 50%;
float: left;
margin-right: 50px;
}
.blog .entry-content {
width: 42%;
float: left;
}
page-id-731 .big-preview.single-big img {
height: 350px;
min-height: 350px;
max-height: 350px;
}
page-id-731 .blog .entry-content p {
text-align: center;
}
page-id-731 .post-meta-infos {
display: block;
font-size: 0.9em;
position: relative;
top: -330px;
}
page-id-731 .html_elegant-blog #top .post-entry .post-meta-infos, .html_elegant-blog .avia-content-slider .slide-meta {
border-bottom-style: solid;
border-bottom-width: 1px;
border-top-style: solid;
border-top-width: 1px;
clear: both;
display: block;
float: left;
margin-top: -225px!important;
padding: 2px 0!important;
text-align: center;
width: 100%;
}
.html_elegant-blog .av-vertical-delimiter {
display:none!important;
}
.page-id-731 .blog .sidebar_right {
display: none !important;
}
.page-id-731 .blog .av-content-small.units {
width: 106% !important;
}I’m only left with the image resizing but would rather find a solution without having to add another plugin.
Thanks
LyseMay 24, 2017 at 7:03 pm #799086Hi Lyse,
Yes, you can remove those CSS codes.
Regarding images, please try the following:
1. Install this plugin: https://wordpress.org/plugins/simple-image-sizes/
2. Go to Settings > Media
3. Change theentry_without_sidebar
image size (increase its width / height).
4. Regenerate the thumbnails by clicking the button at the bottom.Best regards,
YigitMay 24, 2017 at 8:10 pm #799114Hi Yiigit
I installed the plugin and change the size to 350px by 350px. The image comes out as 800px by 800px. Why is that?
Thanks
LyseMay 24, 2017 at 8:10 pm #799115….and yes I have regenerated the thumbnails
May 24, 2017 at 8:19 pm #799119Hi,
Please change following code
.html_elegant-blog #top .big-preview { width: 50%; float: left; margin-right: 50px; }
to following one
.html_elegant-blog #top .big-preview { width: 44%; float: left; margin-right: 50px; }
Then you would need to adjust width in this code
.blog .entry-content { width: 42%; float: left; }
Featured image size is actually 350x350px, please see screenshot in private content field below :)
Best regards,
YigitMay 24, 2017 at 9:06 pm #799145Hi Yigit,
The two pieces of CSS code were removed, so I just added them below the other in the Quick CSS. I also added the code to remove the vertical delimeter
One last thing, is is possible to adjust the text and image so they are vertically aligned in the middle?
Thank you
Lyse
May 26, 2017 at 10:52 am #800055Hi,
you could try this code:
.entry-content { top: 100px; position: relative; }
Adjust top value as needed. Please open a new ticket for a new question, otherwise it gets quite confusing for us.
Best regards,
Andy -
AuthorPosts
- The topic ‘Adjustments to the blog layouts’ is closed to new replies.