Werbering Grafing

Hey there,

I am using the Xtheme for another Website of my customer. The Website is nearly finished, but I have a few questions for the last details. I created an Support Account for you. You find the LogIn Credentials below in the security note.

So here are the questions:

  1. https://werbering-grafing.de/category/grafinger_laeden/
    -> I want to remove the border of the entry thumb. I tried some css but it doesnt really work. Can you give me the right CSS Code to remove the border around the images

  2. https://werbering-grafing.de/category/grafinger_laeden/
    -> I want to make the border of the entry-wrap a bit bigger

  3. Mobile Version
    -> Is there a way to delete the shadow of the hamburger menu?

  4. https://werbering-grafing.de/category/grafinger_laeden/
    -> What CSS Code do I need to use, to change the font color of the category links in the sidebar?
    -> Is there a way to insert a icon before the category link?

So thats it.

Thanks for your help and have a nice day.
Andy / EIGENARTdigital

Hello Andreas,

Thanks for asking. :slight_smile:

Please add following CSS under X > Theme Options > CSS:

.entry-featured {
    border: none !important;
}

Please add following CSS under X > Theme Options > CSS:

.entry-wrap {
    border: 3px solid #f2f2f2 !important;
}

Please add following CSS under X >Theme Options > CSS:

.x-btn-navbar.collapsed {
    box-shadow: none !important;
}

Please use following CSS under X > Theme Options > CSS:

.widget_categories ul>li a {
    color: #f9d966;
}

Please specify kind of icon you want to use. You can take a look at Font Awesome icons and use the icon code to display icons. https://fontawesome.com/icons?d=gallery

Thanks.

Hey Prasant,

thanks for the great help. Everything works fine!

Thank you very much and enjoy your sunday.

Greetings
Andy

You’re welcome :slight_smile:

Have a nice weekend.

Hey there,

I have one more question to ask.

I have 11 different Blog categories. 10 of them are shown under “Grafinger Läden” - its a category tag in the menu.

My Blog Page is “News & Events”. I just want to show Blog Posts with the category “News & Events” on the Blog. How to do that?

Thanks again
Andy

Hi There,

To make the blog page display the posts from News & Events category only, please add this code under functions.php file locates in your child theme:

function my_home_category( $query ) {
    if ( $query->is_home() && $query->is_main_query() ) {
        $query->set( 'cat', '11' );
    }
}
add_action( 'pre_get_posts', 'my_home_category' );

The 11 number should be the News & Events category ID.

For more information, please take a look at this:

https://codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts

Regards!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.