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

    Hello Kriesi-Forum,
    I would like to edit the category pages of the blog.
    – The blog thumbnail is not displayed in the category subpages.
    – I would like to have the menus “Last entries” and “All categories” on the left side in the free area. Like in the blog page.

    Thanks a lot!
    Sarah

    #1138368

    Hey ceiton,
    Sorry for the late reply, to change your category layout to be similar to your blog layout, 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-big';
    return $layout;
    }

    For your second question, do you mean you would like the category page to have a sidebar? This can be turned on in the theme settings for sidebars, please make your choice for the archive pages.

    Best regards,
    Mike

    #1156046

    Hi Mike,
    the code works, cool : )) Thank you!

    The second question: I activated the sidebar in the category pages via the sidebar settings.
    But the sidebar on the category pages looks different than on the general blog page. For the blog pages I wrote in Quick CSS:

    .recentcomments a, .widget_recent_entries li a {
    font-style: normal;
    font-family: inherit;
    }

    .widget_recent_entries li {
    padding: 5px 0;
    }

    Is it possible to change the sidebar in category pages in the same style?

    Thank you!
    Sarah

    • This reply was modified 5 years, 1 month ago by ceiton.
    #1156458

    Hi,
    Thank you for the links, it looks like your blog post sidebar is a 1/4 column with a widget element in it, and the category page is an actual sidebar.
    Though as I look at them I’m not sure what is the difference you are referring to, is it that the page layout is smaller so the sidebar looks closer to the center?

    Best regards,
    Mike

    #1156687

    Hi Mike,
    the blog post sidebar has left-justified text in our highlight colour (petrol). That’s not such a big problem, but it would be nicer if the category sidebar looks the same.

    Kind regards,
    Sarah

    #1156779

    Hi,
    Thank you, please see the screenshot in the Private Content area of the two sidebars side by side.
    So what I see is:

    • link colors are not the same
    • text is not justified the sane
    • indention is not the same

    and you like the blog style, is this correct?

    Best regards,
    Mike

    #1156790

    Hi, Mike,
    yes thank you, it should look exactly like blog style.

    #1157522

    Hi,
    Sorry for the late reply, Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    #top.archive .sidebar_left .widget {
    	float:left !important;
    	text-align: left !important; 
    }
    #top.archive .sidebar_left .widget li {
        margin-left: 1em !important;
        padding: 3px 0 !important; 
    }
    #top.archive .sidebar_left .widget li a {
    	color: #2a6077 !important; 
    }

    After applying the css, Please clear your browser cache and check.

    Best regards,
    Mike

    #1157776

    Hi Mike, it works!! Cool, thank you : )

    #1157806

    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
    For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)

    Best regards,
    Mike

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