Home Forums Pro Themes Trade Line Pro Blog – Remove Slider

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #15568
    al4954vn
    Participant

    I set the home page as a static page and it contains the image slider. Other pages (not posts) were created and each do “not” have a slider image – which is the way I want it.

    Along the menu, I inserted “blog” as a menu item and when clicked would show the list of blog entries. That is fine, but the theme causes the slider to appear on this blog list page where it does not on other pages.

    So I have the slider appear on home page, Not appear on other pages then reappear on the “blog” list page.

    I looked at the documentation and could not see how to remove the slider from the blog list page.

    Where can I remove the slider from the blog list page so it shows with No slider like the other pages?

    Thanks

    #15593
    wensolutions
    Keymaster

    Hello,

    Well, you can achieve it from this simple Custom CSS.

    Please go to Appearance -> Customize -> Theme Options -> Advance CSS and paste following code

    .blog #featured-slider {
        display: none;
    }

    Or you can make a Child Theme and paste above code in it’s style.css file.

    Note: Make sure you have configured your homepage and the blog page from Static Front Page section of the Customizer.

    Hope this helps.

    #15632
    al4954vn
    Participant

    Child Theme
    Mmm, the child theme idea sounds nice, but the idea that I have to manually update the child’s CSS style sheet each time an update comes is not good, especially when I am doing the website for a client and once finished, my involvement is also finished, then leaving manual updates to clients who may not know what to do, forces him into hiring a web designer again just for that minor work of manually updating.

    I’ll go the custom CSS instead, thanks for the selector info.

    Update the Theme
    The theme needs an update to this issue to provide the option in the customizer for blog pages to display the slider or not. After all, this kind of setting belongs there and not really in custom CSS. The main reason for saying this is not everyone knows CSS or can work custom CSS because they are not skilled web designers, so the slider display option part in customizer needs to be there.

    In fact, include the option for “display or not display” a slider or fixed header image for just the blog part. That would be much better. (fixed header image that allows for a different header image in place of a slider than what is displayed in the rest of the theme website).

    Thanks.

    #15635
    wensolutions
    Keymaster

    Hello @al4954Vn,

    but the idea that I have to manually update the child’s CSS style sheet each time an update comes is not good,

    We are sorry for the confusion but you do not need to manually update the child theme’s style sheet each time theme is updated. When you update your theme, Child theme doesn’t require any updates / changes and all the custom styles you have entered in the child theme’s style sheet will work without any update in the child theme.

    Hope this clears your confusion !!

    Regarding your suggestions, we appreciate them highly and we will work this out in our future updates.

    Best Regards !!

    #15689
    al4954vn
    Participant

    I was referring to the core style sheet copied to the child theme and when an update changes the core style sheet in the core theme folders, then that would require me to recopy the core CSS into the Child theme style sheet which erases any changes I made and would require me to replace the changes.

    Ok, so what it seems from your reply that the child theme style sheet is really acting like a custom CSS style sheet and the only entries there would be my custom CSS entries.

    If that is what you mean, then basically the Custom CSS already provided will suffice unless there are other files that need to be placed into a child theme like PHP files.

    Thanks for you reply.

    #15730
    wensolutions
    Keymaster

    Yes, exactly. File like style.css in Child Theme is purely mean to override the parent style behavior, layout etc . Whatever CSS code you write in this style.css acts as a custom CSS which has a higher priority over main style.css codes in a parent theme. So after creating and activating a child theme it is worthless editing parent style again. Any custom CSS you have written or edited before is recommended to undo and write it now on the child theme’s style.css

    Similarly, next major file in Child Theme is a functions.php. This is all mean to override the functional behavior of a parent theme through custom and available WordPress functions.

    The biggest advantage of creating a Child Theme is all that your custom changes won’t get override from any future updates on your parent theme.

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