Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1037656

    Hallo Enfold-Team,
    I’d like to move the “category-name” above the “Title” in the Avia Blog Post Element. Would that be possible and if yes, which file would I have to edit?
    In my “Blog Beiträge” Setup I use: Raster Layout, 3 Columns , Titel and Text part plus “read more” link (I do not know if these are the correct english names, since I use the German version ).
    Thanks in advance

    #1038134

    Hey vectorcriz,

    Could you please give us a link to your website, we need more context to be able to help you.

    Best regards,
    Victoria

    #1038144

    Hi Victoria,
    sure,
    https://www.u-ci.de/
    My question was regarding the Blog Posts on the Home-Page close to the footer. The customer just want to have the Category Name above the title of the Post. At the moment the category name is shown under the Title. No big deal, I just want to know which file I have to edit . Thank you in advance

    Christian

    #1038625

    Hi,

    Here is the code you can put in your funtions.php

    
    
    function moveCategoriesInBlogGrid(){
    ?>
    <script>
    	jQuery(document).ready(function($) {
        	jQuery('.slide-entry-wrap .blog-categories.minor-meta').each(function() {
    		var category =  jQuery(this);
    		var title = category.siblings('.slide-entry-wrap h3.slide-entry-title.entry-title');
    		category.insertBefore(title) });
    	});
    </script>
    <?php
    }
    add_action('wp_footer', 'moveCategoriesInBlogGrid');
    

    adn this to Quick css:

    
    .html_modern-blog #top .post-entry .blog-categories {
        top: 10px;
    }
    .html_elegant-blog .avia-content-slider .slide-entry-title {
        padding-top: 10px;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1038670

    Great, Thank you Victoria
    I will check it and let you know if it works!
    Best regards

    Christian

    #1038675

    Yes, it Works perfect! Thanks a lot!!
    Best regards
    Christian

    #1038692

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Move the Category name above the Title in AVIA Blog Post Element’ is closed to new replies.