New Landing How can we help? Themeforest Theme Support Neighborhood archive, blog category listing not centered

Viewing 13 posts - 1 through 13 (of 13 total)
  • #42832
    westcoastsurf
    Member
    Post count: 210

    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

    #42833
    westcoastsurf
    Member
    Post count: 210
    This reply has been marked as private.
    #42834
    westcoastsurf
    Member
    Post count: 210
    This reply has been marked as private.
    #43496
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hi, I’m confused, as I check http://www.christataryn.com/category/news/ it seems that’s not Neighborhood?

    #43623
    westcoastsurf
    Member
    Post count: 210

    Yes 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.

    #44308
    Melanie – SUPPORT
    Member
    Post count: 11032

    No 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?

    #44384
    westcoastsurf
    Member
    Post count: 210

    Nothing 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?

    #44385
    westcoastsurf
    Member
    Post count: 210

    Attached screenshot

    #44629
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi @westcoastsurf

    Open 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

    #44741
    westcoastsurf
    Member
    Post count: 210

    This worked. Not sure how to make a child theme though, I’ll check into it.

    Thank you

    #44745
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    it’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

    #50083
    westcoastsurf
    Member
    Post count: 210

    Thanks, this bug isn’t fixed in the 1.65 update.

    #50853
    Melanie – SUPPORT
    Member
    Post count: 11032

    Thanks for the feedback, glad to hear Kyle’s code worked!

Viewing 13 posts - 1 through 13 (of 13 total)

The topic ‘archive, blog category listing not centered’ is closed to new replies.