Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #1480146

    About category page design…

    1. The category background is white. I would like to assign a background colour and image.

    2. The categories don”t have a strong intro. I need to add an H2 text category title at the top.

    3. I need to add an optional category title image. individual categories would have either a unique title image or no title image.

    How is this possible?

    #1480199

    4. This seems to be related: I need to add the same colour and background to the posts themselves. I can’t set posts to Advanced Editor because then the posts don’t display the full post content, one after the other on a page, so the posts must be Default Editor. How is the default Default Editor Post background set?

    #1480436

    Hi,
    Unfortunately, your site is not loading for me, frontend or backend, please check.

    Best regards,
    Mike

    #1480457

    Please try now. The server seems to have had issues.

    #1480480

    Hi,
    1: what background color and image do you want to use?
    2: the title is h2, what size do you want it to be?
    3: you can add category images with the Categories Images plugin

    Best regards,
    Mike

    #1480490

    1. #f2f0eb Dandelion-post-background2.png (in the Media tab).
    2. This is one of the category pages: /category/issue-1/. As with all the category pages, there is no category title at all. Only the posts within the category display. I need to add an H2 text category title at the top.
    3. I tried the Categories Images plugin but it didn’t work, as images didn’t display on the category page.
    4. Same colour and image as #1.

    #1480674

    Hi,
    Your site seems to be down now, please check:
    *deleted screenshot*
    Best regards,
    Mike

    • This reply was modified 2 weeks, 1 day ago by Mike. Reason: Deleted screenshot
    #1480718

    Hm, I’m able to login successfully. Please try now. Please try again after an hour if the site is down temporarily.

    #1480791

    Site still is up every time I check.

    #1480872

    Hi,
    Thanks for your patience for the category background image with “Dandelion-post-background2.png” you can use this css:

    .category .container_wrap_first {
      background: url(https://templeinacistg.wpenginepowered.com/wp-content/uploads/2025/03/Dandelion-post-background2.png) !important; 
      background-size: contain !important;
    background-color: #f2f0eb !important;
    }

    Screen Shot 2025 04 06 at 7.51.27 AM
    but this image has a white background so adding a background color to the page will not show, if the image had a transparent background the background color would show.
    To show the title you need to enable Enfold Theme Options ▸ Header ▸ Header Layout ▸ Header Title and Breadcrumbs ▸ Display only title, I did this for you:
    Screen Shot 2025 04 06 at 8.02.58 AM
    To add the same background image and color to the post you could use this css:

    .single .container_wrap_first {
      background: url(https://templeinacistg.wpenginepowered.com/wp-content/uploads/2025/03/Dandelion-post-background2.png) !important; 
      background-size: contain !important;
      background-color: #f2f0eb !important;
    }

    but you still need to use a tranpernt background image for the color to show.

    Best regards,
    Mike

    #1480943

    Wonderful! Thank you, this is very helpful! Items 1 and 4 are solved—the backgrounds work perfectly with a tweak to the image file and adding a norepeat..

    Items 2 and 3 remain issues.
    2. The categories don”t have a strong intro. I need to add an H2 text category title at the top.
    –> The Header Title should not display on all pages. Changing Enfold Theme Options ▸ Header ▸ Header Layout ▸ Header Title and Breadcrumbs ▸ Display only title, displays the title on all pages, which is not wanted. I need the Category title to display on the category page, and the styling needs to match the titles on the other pages (e.g., H2, no line above and below, not positioned so high up).

    3. I need to add an optional category title image. individual categories would have either a unique title image or no title image.

    #1481104

    Hi,
    I disabled your Enfold Theme Options ▸ Header ▸ Header Layout ▸ Header Title and Breadcrumbs ▸ Display only title and added this to your code to the end of your child theme functions.php file in Appearance ▸ Editor:

    add_filter('avf_header_setting_filter', 'avf_header_setting_filter_mod', 50, 1);
    function avf_header_setting_filter_mod($header_settings) {
        if (is_tax() || is_archive()) {
            $header_settings['header_title_bar'] = "title_bar";
        }
        return $header_settings;
    }

    to only show the title on your category pages.
    and I added this css:

    .category .container_wrap_first {
    	border: none;
    }
    .category .title_container {
    	text-align: center;
    	padding-top: 50px;
    	background-color: #f2f0eb !important;
    }
    .category .title_container h1 a {
    	font-weight: 600 !important;
    	line-height: 1.3em;
    	font-size: 30px;
    }

    so compared to one of you posts:
    Screen Shot 2025 04 09 at 5.23.29 PM
    your category title looks like this:
    Screen Shot 2025 04 09 at 5.25.07 PM
    But note that they are both H1, I don’t see H2 like you asked.

    Best regards,
    Mike

    #1481137

    Thank you! The wording as it is now doesn’t make sense to the reader. Can we delete the “Archive for category:” text (or at least change it to “Issue:”?

    To clarify, the “Issue 1 Title” text should be .extralargedisplayfont h2. The class is set in Custom CSS.

    #1481155

    Hi,
    The text below it is H2 “Poetry 5 Submission Title” are you sure that you want two H2 on the category page and no H1? It may affect your SEO.

    Best regards,
    Mike

    #1481156

    It can be H1, as long as it has all the styling of the .extralargedisplayfont class.

    #1481160

    Hi,
    I added this css:

    .category .title_container h1 a {
    font-size: 300%!important;
    line-height: 55px;
    font-family: "sacramento", cursive;
    font-weight: 400;
    }

    and this code to your to the end of your child theme functions.php file in Appearance ▸ Editor:

    function custom_script() { ?>
      <script>
    (function($){
      $('#top.category .title_container h1.main-title.entry-title  a').contents().filter(function() {
        return this.nodeType == 3
      }).each(function(){
        this.textContent = this.textContent.replace('Archive for category:','');
        this.textContent = this.textContent.replace('Tag Archive for:','');
        this.textContent = this.textContent.replace('Archive for:','');
      });
      })(jQuery);
    </script>
      <?php
    }
    add_action( 'wp_footer', 'custom_script', 99 );	  

    the result now:
    Screen Shot 2025 04 10 at 4.20.36 PM
    Please clear your browser cache and check.

    Best regards,
    Mike

    #1481199

    Thank you! This works! Item 3 is now resolved.

    The only item unresolved is:
    3. I need to add an optional category title image (e.g. 1500x1500px, centred). individual categories would have either a unique title image or no title image. I tried the Categories Images plugin but it didn’t work, as images didn’t display on the category page. Is there a way to display an optional category image under the category title?

    #1481207

    Hi,
    You want a 1500x1500px image under the category title?
    1500px height would basically be full screen height, right?
    Do you want the image under the title or the title to be overlayed on the image?
    This will not be so easy.

    Best regards,
    Mike

    #1481337

    Simpler please. The image just needs to fit the full width of the post content. The category title image sits below the category title and above the post content.

    #1481340

    Hi,
    I did some more research as I had recalled the Categories Images plugin used to work, and I found that you also have to add a code snippet, so I added it to your archive.php file and uploaded a test image and it now works:
    Screen Shot 2025 04 14 at 5.03.03 PM
    this is also full width of your content:
    Screen Shot 2025 04 14 at 5.05.00 PM
    The category title image sits below the category title and above the post content.
    Please check the link below.

    Best regards,
    Mike

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