-
AuthorPosts
-
September 11, 2019 at 11:50 am #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!
SarahSeptember 14, 2019 at 5:54 pm #1138368Hey 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,
MikeNovember 12, 2019 at 4:59 pm #1156046Hi 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 ago by ceiton.
November 13, 2019 at 6:00 pm #1156458Hi,
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,
MikeNovember 14, 2019 at 9:47 am #1156687Hi 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,
SarahNovember 14, 2019 at 1:23 pm #1156779Hi,
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,
MikeNovember 14, 2019 at 2:10 pm #1156790Hi, Mike,
yes thank you, it should look exactly like blog style.November 16, 2019 at 7:46 pm #1157522Hi,
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,
MikeNovember 18, 2019 at 10:04 am #1157776Hi Mike, it works!! Cool, thank you : )
November 18, 2019 at 11:46 am #1157806Hi,
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 -
AuthorPosts
- The topic ‘Edit category pages’ is closed to new replies.