I don't have luck when try to resize image.
Original icon only support square size
I'm not sure if in the future release can fix this problem
Original look
View attachment 206525
After custom CSS to resize image and I made women look fat and blur
(avatar avatar--l)
View attachment 206526
Just following up on this again - how does one who bought Brogan's add-on get the discount code for this new version? Is that still available?
How did you make it big? and what code did you use?After custom CSS to resize image
{$feature.renderIcon(property('thfeature_icon_size'))|raw}
<a href="{$feature.getContentUrl()}"><img src ="{$feature.getFeatureBackgroundUrl(true)}"></a>
{{ snippet($feature.message, $xf.options.thfeature_maxMessageLength) }}
{{ snippet($feature.getMessageSnippet(), $xf.options.thfeature_maxMessageLength) }}
<xf:widgetpos id="thfeature_page_sidenav" position="sidenav" />
<xf:widgetpos id="thfeature_page_sidenav" position="sidebar" />
New Features
1) I agree with above feature and big site will love it. like CTA Featured Threads
2) Choose Icon image from first attached image automatically like CTA Featured Threads
3) Have option to adjust Icon size for example 320 x 190 px
View attachment 206017
Jake, I'm following this line of inquiry as it's something I'm interested in as well. If this add-on does it then I wouldn't need to maintain my own custom code.Could you send a screenshot of how you have this working with Brogan's add-on on XenForo 1? I'm not entirely sure I follow what you're trying to do exactly, and just want to make sure we're both on the same page before I make any suggestions![]()
Thanks, Jake. Be sure to keep us updated if anybody decides to go forward with this one. If I was able to switch over, buying a few TH licenses would be far easier than me maintaining my own custom code.Something like that isn't currently possible as the featured image does get resized to specific dimensions. That said, I think we could probably make some updates to. I've created an issue here so we can explore this for a future update. There are definitely some changes I'd like to make to the index page, and this could make a nice addition![]()
I'm using PixelExit for our theme and have the sidebar set to display on the right. But I can't get the Featured page to display the sidebar on the right, it only displays on the left. Is there a setting for that? Or how would I make that happen?If you edit thethfeature_featured_index
template you can remove the following lines:
Code:<xf:sidenav> {$filtersHtml|raw} </xf:sidenav>
In Appearance -> Widgets you can set a limit
Options -> [TH] Featured Threads and Content: Threads, just tick "Show first post at top of all pages in thread"
Are you referring to this add-on?
circling back on this, could I get some support on customizing the CSS grid to include more variety of sizes?That's probably possible, we're using CSS grids for this layout, but I couldn't tell you exactly how to accomplish it, @Ian Hitt may be able to provide some advice though
I'm using PixelExit for our theme and have the sidebar set to display on the right. But I can't get the Featured page to display the sidebar on the right, it only displays on the left. Is there a setting for that? Or how would I make that happen?
thfeature_featured_index
and change the following:<xf:sidenav>
{$filtersHtml|raw}
</xf:sidenav>
<xf:sidebar>
{$filtersHtml|raw}
</xf:sidebar>
<xf:widgetpos id="thfeature_page_sidenav" position="sidenav" />
<xf:widgetpos id="thfeature_page_sidenav" position="sidebar" />
circling back on this, could I get some support on customizing the CSS grid to include more variety of sizes?
That's great, worked like a charm. Thanks!The component being used isn't actually the sidebar in this case, it's the "sidenav". We did this to keep it consistent with things like XFRM and XFMG, if you'd like to change it though you can edit thethfeature_featured_index
and change the following:
Code:<xf:sidenav> {$filtersHtml|raw} </xf:sidenav>
to:
Code:<xf:sidebar> {$filtersHtml|raw} </xf:sidebar>
If you add any widgets in you'll want to do change the following as well:
Code:<xf:widgetpos id="thfeature_page_sidenav" position="sidenav" />
to:
Code:<xf:widgetpos id="thfeature_page_sidenav" position="sidebar" />
Customizations like this aren't really covered by our support, all I can currently suggest is looking into the functionality behind CSS Grids. @Ian Hitt may have an opinion on this though
@Amin Sabet could you confirm if this is what you're looking for as well?
We use essential cookies to make this site work, and optional cookies to enhance your experience.