• Resolved htct

    (@htct)


    Hi there
    I am setting up my blog website https://www.housesittingtailscyclingtrails.com

    Using the enigma inferno theme and I am having problems with the archive category widget keep appearing on my blogs. Even though I have not selected it in widget setup. All I want to do is view blogs right across the page ( as I have set up for some of my pages- see about us- for example) so that no category widgets ( including archives) appear on the site, just the blog information.
    Also, when I retrieve a blog from category widget- Australian Tails, I get the heading category archive Australian trail, where all I want to see is Australian tails!
    Can anyone help please!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter htct

    (@htct)

    Also, does anyone know how to make the widgets smaller in the sidebar when displayed, they take up 1/3 of the page! Can they be made smaller, also change font, bold text, etc- thanks

    Hi..

    Please add any widget in sidebar then Archive blog from sidebar will removed.

    Thanks.

    Thread Starter htct

    (@htct)

    Hi there
    Thank you for getting back to me. I have just two widgets active, two AVH extended category widgets, I do not have an archive widget. When I go to the Housesitting tails page, I have the Housesitting tails widget which shows the two categories Australian tails and New South Wales.
    But, when I then view a post, a archive widgets appears showing monthly post dates.
    I just would like to see a post right across the page with no archive widget showing.
    Also, is it possible to make the widget smaller, it takes up a lot of the page
    Thanks
    David

    Hi..

    Please add below css code into custom css editor.

    .enigma_sidebar_widget {
        display: none !important;
    }

    Save the changes.

    Thanks.

    Thread Starter htct

    (@htct)

    Hi

    Thanks for the help. I just tried the above and still have the issue. I copied your code to the CSS style sheet editor is that right? Or should it go in editor in one of the themes or styles?

    Thanks

    David

    Hi,

    Please go to Admin Dashboard >> Appearance >> Customize >> Theme Options >> Theme general Options.

    Now copy below css code and paste into custom css editor.

    .enigma_sidebar_widget {
        display: none !important;
    }

    Save the changes.

    Thanks.

    Thread Starter htct

    (@htct)

    Hi

    Thank you for the help. Yes it worked, but not only has the archive widget gone but also my two AVH extended category widgets that have all my posts. Is there a way that I can just not display the archive widget on th sidebar , but the others I can?

    Thanks

    David

    Hi,

    Please make child theme.

    Now copy below code and paste into your child theme’s functions.php file.

    add_action( 'widgets_init', 'weblizar_widgets_init_child');
    	function weblizar_widgets_init_child() {
    	/*sidebar*/
    	register_sidebar( array(
    			'name' => __( 'Sidebar', 'enigma' ),
    			'id' => 'sidebar-primary',
    			'description' => __( 'The primary widget area', 'enigma' ),
    			'before_widget' => '<div class="enigma_sidebar_widget">',
    			'before_widget' => '<div id="%1$s" class="enigma_sidebar_widget %2$s">', //for diff.-2 classes of widget
    			'after_widget' => '</div>',
    			'before_title' => '<div class="enigma_sidebar_widget_title"><h2>',
    			'after_title' => '</h2></div>'
    		) );
    	}

    After this each sidebar widget have unique id and now we can customize this as per your requirements.

    Save the changes.

    Let’s know further assistance.

    Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Category widget problems’ is closed to new replies.