Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #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
    Lyse

    #796193

    Hey 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,
    Basilis

    #796222

    Hi 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
    Lyse

    #796781

    Hi 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, 6 months ago by Yigit.
    #796827

    Hi 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
    Lyse

    #796831

    Hi 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 the entry_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,
    Yigit

    #796852

    Hi 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
    Lyse

    #796854

    Hey Lyse!

    Can you please create a temporary admin login and post it here privately so we can look into it? :)

    Best regards,
    Yigit

    #796856

    Hi 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
    Lyse

    #797421

    Hi,

    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 Torvik

    #797693

    HI John,

    That did not work.

    Lyse

    #797697

    Hi Lyse,

    Login credentials did not work for me. Can you please check them once again? :)

    Best regards,
    Yigit

    #797702

    Hi Yigit,

    I have reseted the password and added it again below. Please try again.

    Thanks,
    Lyse

    #798904

    Hi,

    I added some more custom CSS code to the top of your Quick CSS field. Please review your website :)

    Best regards,
    Yigit

    #799080

    Hi 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
    Lyse

    #799086

    Hi 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 the entry_without_sidebar image size (increase its width / height).
    4. Regenerate the thumbnails by clicking the button at the bottom.

    Best regards,
    Yigit

    #799114

    Hi 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
    Lyse

    #799115

    ….and yes I have regenerated the thumbnails

    #799119

    Hi,

    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,
    Yigit

    #799145

    Hi 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

    #800055

    Hi,

    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

Viewing 21 posts - 1 through 21 (of 21 total)
  • The topic ‘Adjustments to the blog layouts’ is closed to new replies.