• Resolved shomaabhyankar

    (@shomaabhyankar)


    Hi,

    Just wondering if you can help with some custom CSS codes or solution:

    The site in question is https://astonishingindia.net

    1) Multiple Titles
    Whenever you load a particular post, the title seems to come up twice. Once at the top, and just before the post stars (under the featured image). Is there a way for it to only display the title once?

    2) I’ve used a CSS code to not display the tags, but only the categories meta information. Is it possible to add a code so this category text is aligned to center.

    You can view the screenshot here:

    https://pasteboard.co/nNwjkY2qY.png

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello Shomaabhyankar,

    1) for your first issue –

    Please go to Dashboard -> Appearance -> Customize -> Theme Options -> Theme General Options -> Custom CSS

    insert code into Custom CSS box and save –

    .enigma_fuul_blog_detail_padding h2 {
        display: none;
    }

    2) For your second issue –

    first, create a child theme using given LINK

    now copy post-content.php from main theme folder and paste in child theme folder after copy and paste open post-content.php of child theme folder go to line no.33 see codes

    <div class="row">
    		<div class="col-md-6 col-sm-3">
    		<?php if(get_the_tag_list() != '') { ?>
    		<p class="enigma_tags"><?php the_tags( __('Tags : ','enigma-parallax'), '', '<br />'); ?></p>
    		<?php } ?>
    		</div>
    		<div class="col-md-6 col-sm-3">
    		<?php if(get_the_category_list() != '') { ?>
    		<p class="enigma_cats"><?php echo __("Category : ",'enigma-parallax');
    		the_category(' , '); ?></p>
    		<?php } ?>
    		</div>
    		</div>

    replace it with below code –

    <div class="row">
    		<div class="col-md-6 col-sm-3">
    		<?php if(get_the_tag_list() != '') { ?>
    		<p class="enigma_tags"><?php the_tags( __('Tags : ','enigma-parallax'), '', '<br />'); ?></p>
    		<?php } ?>
    		</div>
    		<div class="col-md-12 col-sm-3">
    		<?php if(get_the_category_list() != '') { ?>
    		<p class="enigma_cats"><?php echo __("Category : ",'enigma-parallax');
    		the_category(' , '); ?></p>
    		<?php } ?>
    		</div>
    		</div>

    and save file –

    Thread Starter shomaabhyankar

    (@shomaabhyankar)

    Thank you!

    The 1st one worked

    AS for the second issue, is there no CSS code variant instead of having to go the child theme way?

    ALternatively, is a CSS code to move the categories to be displayed below the post instead of at the top.

    Sorry, There is no CSS for the second issue and if you don’t want to make a child theme and done all the changes in the main theme then in future when you updating the theme then all the changes made by you will disappear.

    That’s why we give suggestion to make a child theme. So that your changes be saved.

    Thanks. Let us know for more query.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Multiple Titles and Aligning Categories Meta tag’ is closed to new replies.