Eric

Forum Replies Created

list of topics you have created till now.

  • Eric
    Participant

    Thx, it works!

    Eric
    Participant

    Hi,
    it’s https://pwa.tr8ersmind.de .
    Regards,
    Eric

    Eric
    Participant

    Hi,
    I use a HTML widget in the blog sidebar and in the Footer Subscribe.
    The code is

    <div id="followus-sidebar">[social_icon type="facebook" same_tab="no" url="https://www.facebook.com/tr8ersmind"][social_icon type="youtube" same_tab="no" url="https://www.youtube.com/channel/UCUCgjRhTRv4MLiNp2cVZYiQ/"][social_icon type="twitter" same_tab="no" url="http://twitter.com/tr8ersmind"]</div>

    The id of the footer widget is “followus”.

    I change the font size of the social icons in the sidebar with

    #followus-sidebar a.social-link {
    font-size: 2em !important;
    }

    It works.

    I ‘d like to change the font size of the social icons in the footer with

    .footer-subscribe .layout-medium #followus a.social-icon {
    font-size: 2em !important;
    }

    Nothing happens and I’d appreciate your help, to get it right.

    Best regards,
    Eric

    Eric
    Participant

    Hi Serkan,

    I didn’t ask for an individual customization of your theme. When you answered me, that there was no built-in filter hook for the slider, I wrote it on my own.

    I just wanted to let you know, that it would be a nice feature to have a frontend solution.

    And indeed, that is more a topic for your developers’ roadmap than for a CSS customizer.

    Best regards,
    Eric

    Eric
    Participant

    Hi Serkan,

    unfortunately this is not a solution for my customer.

    I looked, where the query for the slider is generated and added 2 lines of code to the widget-main-slider.php under line 352:

    $excluded_categories = array();
    $excluded_categories = apply_filters('slider_excluded_categories',$excluded_categories);

    and 1 line under the new line 371:

    'category__not_in' => $excluded_categories
    .
    In the functions.php of the child theme I added a filter function with an array of the categories, that I want to filter.

    But that is a quick and dirty solution with 3 problems:
    1. The exclusion is set for every slider widget instance.
    2. It is hard coded. If there is a need to change the categories, the functions.php must be edited again.
    3. All the changes will be gone with the next update of the theme files.

    Because of problem #3 I didn’t add another field to the widget. But I would appreciate it, if you’ll add this possibility to the widget.

    Best regards,
    Eric

Viewing 5 posts - 1 through 5 (of 5 total)