Tagged: category pages
-
AuthorPosts
-
February 16, 2018 at 1:30 am #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?
February 16, 2018 at 3:38 am #913063Hey 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,
MikeFebruary 17, 2018 at 1:14 am #913457Hi Mike,
I added the code you suggested to the functions.php file and it did not change anything. Any other suggestions?February 17, 2018 at 2:04 pm #913643Hi,
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,
MikeFebruary 27, 2018 at 1:29 am #918123Hi Mike,
Yes, I believe I copied the code from the webpage.
February 27, 2018 at 6:43 am #918214Hi 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,
VictoriaMarch 16, 2018 at 1:40 am #927827Hi 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?
March 16, 2018 at 2:29 am #927836Hi,
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,
MikeMarch 17, 2018 at 12:58 am #928342Thank you! It worked.
March 17, 2018 at 1:45 pm #928463Hi,
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 -
AuthorPosts
- The topic ‘Customize Category pages’ is closed to new replies.