Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › archive, blog category listing not centered
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › archive, blog category listing not centered
- This topic has 12 replies, 3 voices, and was last updated 10 years by Melanie – SUPPORT.
-
Posted in: Neighborhood
-
January 16, 2014 at 1:09 am #42832
Hello,
when I click on a blog category link to show blog items, or archive listings, the listing is shifted to the right and not centered. I will post URL in private below.
Thank you
January 16, 2014 at 1:10 am #42833This reply has been marked as private.January 16, 2014 at 1:21 am #42834This reply has been marked as private.January 20, 2014 at 8:46 am #43496Hi, I’m confused, as I check http://www.christataryn.com/category/news/ it seems that’s not Neighborhood?
January 20, 2014 at 6:31 pm #43623Yes it is neighborhood. Didn’t you login? I just removed the black border lines that were everywhere. The archive, category, tags listing is set to standard. You have masonry set in your demo.
January 23, 2014 at 2:06 pm #44308No I didn’t log in because the site didn’t use our theme 🙂
So we’re talking about this page for example? http://www.christataryn.com/category/news/#.UuEhsmSIUdU
Can you try deactivating all your modifications and plugins to see if that solves it?
January 23, 2014 at 9:37 pm #44384Nothing changed when I deactivated any CSS changes or plugins. Tag/category result listing show up flush left instead of being centered. Can you set your demo to STANDARD instead of MASONRY for category/tag etc listing and let me know what the results are?
January 23, 2014 at 9:48 pm #44385Attached screenshot
January 25, 2014 at 12:36 pm #44629Open up archive.php and category.php and on line 45 change the span10 to span12 (see below)
Orignal
if ($blog_type == "mini") { if ($sidebar_config == "both-sidebars") { $item_class = "span6"; } else if ($sidebar_config == "right-sidebar" || $sidebar_config == "left-sidebar") { $item_class = "span8"; } else { $item_class = "span12"; } } else if ($blog_type == "masonry") { if ($sidebar_config == "both-sidebars") { $item_class = "span3"; } else { $item_class = "span4"; } } else { if ($sidebar_config == "both-sidebars") { $item_class = "span5"; } else if ($sidebar_config == "right-sidebar" || $sidebar_config == "left-sidebar") { $item_class = "span6"; } else { $item_class = "span10"; } }
Edited
if ($blog_type == "mini") { if ($sidebar_config == "both-sidebars") { $item_class = "span6"; } else if ($sidebar_config == "right-sidebar" || $sidebar_config == "left-sidebar") { $item_class = "span8"; } else { $item_class = "span12"; } } else if ($blog_type == "masonry") { if ($sidebar_config == "both-sidebars") { $item_class = "span3"; } else { $item_class = "span4"; } } else { if ($sidebar_config == "both-sidebars") { $item_class = "span5"; } else if ($sidebar_config == "right-sidebar" || $sidebar_config == "left-sidebar") { $item_class = "span6"; } else { $item_class = "span12"; } }
And save the files in your child theme.
Let me know if this works.
– Kyle
January 26, 2014 at 12:19 pm #44741This worked. Not sure how to make a child theme though, I’ll check into it.
Thank you
January 26, 2014 at 2:29 pm #44745it’s really easy, upload the child theme that we have provided in the download files, as well as the parent theme. any changes you make to css or the php files you can save in the child theme folder and it will simply override the parent theme file.
Hope this helps
– Kyle
February 18, 2014 at 10:43 pm #50083Thanks, this bug isn’t fixed in the 1.65 update.
February 21, 2014 at 1:04 pm #50853Thanks for the feedback, glad to hear Kyle’s code worked!
-
Posted in: Neighborhood
The topic ‘archive, blog category listing not centered’ is closed to new replies.