Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #913036

    Hello,

    I’m trying to fix the layout of the category pages. The page below is an example of one of the categories, It is centered and the images are rendering incorrectly. I’d like the page flush left and the images to render as they do on the single author small blog page. Any suggestions?

    #913063

    Hey iveyeng,
    Try adding this code to the end of your functions.php file in Appearance > Editor:

    add_filter('avf_blog_style','avia_change_category_blog_layout', 10, 2); 
    function avia_change_category_blog_layout($layout, $context){
    if($context == 'archive') $layout = 'single-small';
    return $layout;
    }

    Best regards,
    Mike

    #913457

    Hi Mike,
    I added the code you suggested to the functions.php file and it did not change anything. Any other suggestions?

    #913643

    Hi,
    Did you copy the code from a email or from the webpage? Can you please include a admin login in the private content area so we can take a closer look.

    Best regards,
    Mike

    #918123

    Hi Mike,

    Yes, I believe I copied the code from the webpage.

    #918214

    Hi iveyeng,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    #top.archive.category .fullsize .template-blog .blog-meta {
        float: left;
        margin: 0;
        display: block;
        position: relative;
        width: 180px;
        height: 180px;
    }
    #top.archive.category  .fullsize .template-blog .post .entry-content-wrapper > * {
        max-width: 52em;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #927827

    Hi Victoria,

    I tried inserting the code you provided into both the quick CSS and the themes custom.css. I’m still getting the centered layout for the category pages. Any other suggestions?

    #927836

    Hi,
    I placed the code in your WordPress > Customize > Additional CSS
    it seems to be working now, Please clear your browser cache and check.

    Best regards,
    Mike

    #928342

    Thank you! It worked.

    #928463

    Hi,
    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
    and the video tutorials here
    And if there are features that you wish Enfold had, you can request them and vote the requested ones 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

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Customize Category pages’ is closed to new replies.