Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #791840

    I’m having difficulty redefining my post titles’s color (which is a h2) within my categories. I have a conflict of color in my current h2’s my homepage and would prefer to just define the h2’s on that particular category page page. The following code was suggested by another one of your moderators but it hasn’t worked. I was trying to define the h2 on this specific category/post-id-441 page as a darker color (it’s currently set to white and I can’t see it). Here is the code example:

    .page-id-441 h2.post-title.entry-title {
    color: #5c5c5c !important;
    }

    Maybe there is a way to tell ALL category pages to have a specificy h2 color instead of using the specific page id like above?

    #791849

    Hey artisforever,

    Please post a link to the site/page in question so we can have a better understanding of what you need.

    Best regards,
    Jordan Shannon

    #791950

    Hey Jordan, posted in private content below, thanks.

    #792066

    Hi artisforever,

    Please try this code instead:

    #top.category #wrap_all .all_colors h2.post-title.entry-title {
       color: #5c5c5c !important;
    }

    If you want this applied to other pages, you can check the <body> tag and see what classes are there. :)

    I hope that helps!

    Best regards,
    Sarah

    #792356

    Sarah!!!

    This worked perfect. Is their additional changes I could also use with this CSS?

    For instance, on that same page, can I remove the “by” portion of text. We didn’t want the author/published by portion to show up. I think I used a plugin to get rid of the author name, but that portion of text is still bothering me!

    Lastly, can I decrease the margins in between posts, the gap is pretty large right now.

    Thanks again for all your support.

    #792362

    Hi!

    Just for category pages, right? Please add this code:

    #top.category .post-meta-infos .blog-author.minor-meta,
    #top.category .post-meta-infos .text-sep.text-sep-cat {
       display: none;
    }
    
    #top.category .template-blog .post_delimiter {
    	margin-bottom: 10px;
    	padding-top: 10px;
    }

    You can adjust the value of the margin and padding. Originally, that’s 50px.

    Best regards,
    Sarah

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.