Customize the html block icon of the sidebar

Gael56

Registered
Hello,

I use the Flat Awesome + theme, and I would like to customize the html block icon in the sidebar, but I have not found how to do it.
upload_2018-1-24_19-13-44.png


Change "angle-double-right" to "search" in my case

Can you help me ?
Thank you

Ps : I'm sorry, I don't speak english very well
 

Russ

Pixel Exit Staff
So... 2 step process for this one due to how XF approaches the HTML block.

Open the template: widget_html

Find this line:

Code:
<div class="block">

replace with this:

Code:
<div class="block"{{ widget_data($widget) }}>

Then add to your extra.less:

Code:
.p-body-sidebar [data-widget-definition="html"] .block-minorHeader:before {
    content: "\f002";
}

Should work.
 
Last edited:

Pre-Sale Questions

If you have any questions or concerns you want to ask before you make a purchase don't hesitate to use one of our multiple support channels for your convenience.