Hello, I just checked your site and the ads works fine for me.
Fixed ads no longer appear in mobile view. It used to work. There is no problem with desktop view.
Works for me on mobile too. Could you clarify which ads you mean? Some screenshot would be helpful. Thanks
Can you guide me how to get the data in topic-list card the same way you are doing? - User name - Full male - Creative time - Peréonal action & Slide image ^^
Sorry for replying so many times. currently I am using the theme-component “Alternative Voting Category Style” but when selecting your theme it doesn’t work as expected, hope you can help me with this. and it would be great if you could help activate this theme-component on mobile
Hello,
For this you need to override the template. Here is a guide how you can do it: Beginner's guide to developing Discourse Themes
The FKB Pro theme templates you can find here: fkb-pro-theme/javascripts/discourse/templates at main · VaperinaDEV/fkb-pro-theme · GitHub
I have merged an update for adding compatibility with Alternative Voting Category Style theme component.
Yeah I know, I misspelled the component name
awesome i just updated the theme and saw your customizations, however the mobile version doesn’t currently support the alternative Voting Category Style component theme, if possible i really hope to add this customization.
Yeah, the Alternative Voting Category Style is only for desktop. To change it you need to fork the theme component and modify some files.
This modification seems too much for my current ability, hope you can give me some suggestions? or I will try to contact the author and ask for their support, although I have replied to the post but still have not received a reply ^^
Hey @hoangphuctran93,
I forked the theme component and modify to work with FKB Pro theme and on mobile too. I reverted the previous theme update.
Here is the theme component
Awesome, i’m super excited to test this upgraded version of yours ^^ once again thank you very much. Please visit my website https://businesslab.vn. I will have a detailed tutorial in the next few days to share with the community, everything I have learned and supported to implement the project.
I installed it and it’s amazing it worked, I’d like to take a closer look at the code you made
and especially Don’s customization can run on all other themes ^^
Any way to hide the image preview / make it smaller? I love this theme but the image seems to make each topic really tall on my site.
You can use css with Aspect ratio
Example code: https://www.w3schools.com/howto/howto_css_aspect_ratio.asp
You can check my site https://businesslab.vn with ratio 16:10
How I can set this in the Discourse? Like where and which css do I set?
Also, there is this minor issue when setting Google Ads:
I assume the sidebar profile card should be below the ad, not right on top of it.
Thanks!
Hello @codergautam,
I have merged a fix for Discourse Ad plugin - Google Adsense. Please update the theme.
You can change the image height
You need to create a new component for this.
-
Go to
/admin/customize/themes/
Customize → Themes -
Click the Components tab and then the Install button
-
On the popup window click Create new button and type the new component name.
-
Click Create button.
-
The component created. Now select FKB Pro theme to activate it.
-
Click the Edit CSS/HTML button.
-
Click the Common tab and paste the below code to the CSS section.
If you want to set the image height separately on desktop and mobile, use those tabs instead of Common. Common means this code will be active on desktop and mobile too.
.topic-list {
.main-link {
.link-middle-line {
.topic-image {
height: 280px; // Default 300px
}
}
}
}
If you want to hide the image, use this
.topic-list {
.main-link {
.link-middle-line {
.topic-image {
display: none;
}
}
}
}
Hope to fix incompatibilities with other theme components
How do you just round the buttons and stuff? I just wanted to do this in my current theme
Hi @danielabc,
There are some theme-component for rounding stuffs.
Hello @xiaokong23357, can you clarify which theme-component do you mean?