XF 2.3 Remove Share Widget from Box

MapleOne

Well-known member
Screenshot (84).webp


I have the share widget displaying at the bottom of the index page and would love to remove the box but there is no advanced mode for that widget.

On the threads there is an standard Xenforo widget that displays like this.


Screenshot (85).webp


I would love to mimic that for the index page but am struggling a bit on how to accomplish that.

Has anyone got a simple fix for it?
 
I did this:
Less:
[data-widget-key="forum_overview_share_page"]
{
    .block-container
    {
        background: transparent;
        border: none;
    }
    .block-minorHeader
    {
        color: @xf-textColorDimmed;
        padding: 0 0 0 10px;
        background: transparent;
        font-weight: normal;
    }
}
 
Less:
.block-minorHeader
{
   display:none;
}

Was just going to do that as well, thank you


screenshot-85-webp.318002


Now just have to figure out how to add the word share to make it look like the standard share on all the thread pages.
 
Less:
.block-minorHeader
{
   display:none;
}

Anyone following this

Code:
/* Hide Share Box Index Page */
[data-widget-key="share_page"]
{
    .block-container
    {
        background: transparent;
        border: none;
    }
    .block-minorHeader
    {
        color: @xf-textColorDimmed;
        padding: 0 0 0 10px;
        background: transparent;
        font-weight: normal;
    }
}


/* Hide Share Header Index Page */
[data-widget-key="share_page"]
.block-minorHeader



That is the full code I used, just had to change widget key and add this to the second part so the other headers stayed intact.
Code:
[data-widget-key="share_page"]


Thank you @Old Nick for the help (y)
 
Code:
/* Add share to share widget */
[data-widget-key="share_page"]
div.block-container:before {
  content: "Share:";
  visibility: visible;
  font-size: 14px;
}


So far I have the above code to mimic the word share in front

Needs some work to get it to lock like this below but not bad for a beginner trying css so far.

Screenshot (87).webp

What it looks like

What I want it to look like

screenshot-85-webp.318002
 
Back
Top Bottom