Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #904529

    Hi there, we’ve got an issue with uBlock and Adblock removing the social links that Enfold generates.

    The filter lists catching them are enabled by default (Fanboy’s Annoyance List and Fanboy’s Social Blocking List), and as such we’d like to avoid getting trapped by them. The social links in the menu are super unobtrusive so there’s no need for them to be blocked by anyone, they simply provide more avenues of communication. The ‘scroll to top’ button is also getting removed.

    Here’s the uBlock log:

    ##a[title="Scroll to top"]		dom	
    ##a[title="Facebook"]		dom
    ##a[href="#top"]		dom
    ##.social_bookmarks		dom
    ###scroll-top-link		dom

    Could it be possible to provide a filter, ideally from the child theme, that will allow us to rename these elements?

    #904590

    Hey chiligroupharstad,
    While we don’t have a working function to change the top two (title=”facebook”) the bottom three can not be changed without rewriting the css because they are classes & ID’s
    Sorry this would not work without major changes to the theme. Typically people that use these filters do not want to see or use these elements.

    Best regards,
    Mike

    #904672

    Hey Mike!

    I agree in theory, but as they’re enabled by default in the plugins in practice most who have these filters on aren’t intentionally blocking them – ‘social bookmarks’ would usually imply something a little more obtrusive, or embedded from the services and resulting in tracking. Most are installing Adblock/uBlock to rid of these and, for example, YouTube’s adverts – I’m sure we all know the sort.

    If there’s no way to rewrite the class IDs/classes through a function, could you direct me to where all these are referenced so that I can change them manually? Related, if it’s possible to edit these theme files and have the child theme reference them from its own folder?

    Thanks for the swift reply!

    #905210

    Hi,

    We are afraid no, there is no way to re-write them somehow.
    We are sorry for that.

    Best regards,
    Basilis

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