Forum Replies Created
-
AuthorPosts
-
August 12, 2019 at 4:32 am in reply to: Lay the category page out the same as the blog page. #1126709
Hey Mike – Such a simple thing! I’m kicking myself for not trying that myself.. Thanks for your help.
August 7, 2019 at 10:39 pm in reply to: Lay the category page out the same as the blog page. #1125733Hi Victoria
Yes, it’s nice and clean, but it’s centred.If you have chosen “grid” layout for your blog page and you use $layout = ‘blog-grid’; for your category pages the two match. The same goes for the “single-big” layout.
I’ve chosen the “Single Author Small Preview” blog option which is left aligned. Is there a way of left aligning the category pages so that they match? I also like the dotted line joining the thumbnails down the left…
Dave
August 6, 2019 at 2:22 am in reply to: Lay the category page out the same as the blog page. #1124934Hi Victoria
The site is in staging at the moment – I’ve put logins (for flywheel not for wordpress) in the private content below:Thanks
DaveAugust 1, 2019 at 6:04 am in reply to: Lay the category page out the same as the blog page. #1123751Hello Victoria,
I have tired all of the possible combinations. Nothing works. Here’s my findings:
$layout = ‘single-grid’; gives a grid
$layout = ‘single-big’ gives a large image centred above text
$layout = ‘single-small’; gives a small image centred above text (this seems to be the default)Is there another “$layout” I can try?
I am looking for a category $layout that gives small images left of the text to emulate options > blog layout > Single Author Small Preview (no author picture is displayed…)
If there isn’t a $layout for this, is it possible to manipulate $layout = ‘single-small’ using CSS?
Hi Victoria, yes I can get the blog-grid to work. The only one that doesn’t seem to have any effect at all is single-small. Sod’s law, that’s the one I need.
Thanks Victoria, I have tried adding this to the functions.php:
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;
}
… but it seems to have no effect.There is however a change when I try: $layout = ‘single-big’; or $layout = ‘blog-grid’;
-
AuthorPosts