ForumSpark Support app Faster, straight from your home screen. Tap Share, then Add to Home Screen.
Add ForumSpark Support to your home screen
  1. Tap Share at the bottom of Safari.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add. ForumSpark Support now opens like an app.
  1. Tap Install, or open the browser menu.
  2. Choose Install app or Add to Home screen.
  3. Confirm. ForumSpark Support now opens like an app.

Add affiliates....

Cat_Lady's Avatar
Cat_Lady · in Support
7 replies 503 views

Is there a way to add affiliates to the bottom of the index page of the forum?

That way, we can exchange affiliates with other people....

0

Yes, you can add those in Board Templates. You would need to do so using HTML. But this also allows you to cleanly recreate a box with a category title. Iโ€™ll share some code later today for a clean affiliates box.

0

This is just something quickly spin up.

Put this in Board Templates:

<div class="affiliate-panel panel">
  <div class="panel__title">
    Our Affiliates
  </div>
  <div class="affiliate-grid">
    <a href="#" target="_blank" rel="noopener">
      <img src="link" alt="Affiliate 1">
    </a>
    <a href="#" target="_blank" rel="noopener">
      <img src="link" alt="Affiliate 2">
    </a>
    <a href="#" target="_blank" rel="noopener">
      <img src="link" alt="Affiliate 3">
    </a>
    <a href="#" target="_blank" rel="noopener">
      <img src="link" alt="Affiliate 4">
    </a>
  </div>
  <div class="panel__footer">
  </div>
</div>

Put this in your theme CSS:

.affiliate-panel {
  max-width: 1300px;   
width: 100%; margin: 0 auto;
} .affiliate-grid { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 12px; } .affiliate-grid img { width: 88px; height: 31px; display: block; } .affiliate-grid a { display: inline-block; transition: transform 0.15s ease; } .affiliate-grid a:hover { transform: scale(1.05); }
0
Cedric said:

This is just something quickly spin up.

Put this in Board Templates:

<div class="affiliate-panel panel">
  <div class="panel__title">
    Our Affiliates
  </div>
  <div class="affiliate-grid">
    <a href="#" target="_blank" rel="noopener">
      <img src="link" alt="Affiliate 1">
    </a>
    <a href="#" target="_blank" rel="noopener">
      <img src="link" alt="Affiliate 2">
    </a>
    <a href="#" target="_blank" rel="noopener">
      <img src="link" alt="Affiliate 3">
    </a>
    <a href="#" target="_blank" rel="noopener">
      <img src="link" alt="Affiliate 4">
    </a>
  </div>
  <div class="panel__footer">
  </div>
</div>

Put this in your theme CSS:

.affiliate-panel {
  max-width: 1300px;   
width: 100%; margin: 0 auto;
} .affiliate-grid { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 12px; } .affiliate-grid img { width: 88px; height: 31px; display: block; } .affiliate-grid a { display: inline-block; transition: transform 0.15s ease; } .affiliate-grid a:hover { transform: scale(1.05); }

Thank you! I've got this up on my forum.
@Cedric When using the theme "Navy Blue", it automatically switch's from light mode to dark mode whenever I move from one page to another on the forum now that I've added the affiliates code to my forum. Is that messing with the theme at all?

Last edited by Cat_Lady

0
Cat_Lady said:

Thank you! I've got this up on my forum.
@Cedric When using the theme "Navy Blue", it automatically switch's from light mode to dark mode whenever I move from one page to another on the forum now that I've added the affiliates code to my forum. Is that messing with the theme at all?

Do you still have this issue? I just checked your forum, but that is not happening for me - both the affiliate box and the light/dark mode switch seem to work just fine.

0

Iโ€™m wondering the same as Mace. There is nothing in the code that could conflict. But do let us know if you have further issues.

0

@Mason @Cedric

Yes, it is still doing it.

0
Cat_Lady said:

@Mason @Cedric

Yes, it is still doing it.

That'd odd. Have you tried clearing your browser cache?

I just tried again in the browser that you are using specifically, but everything still seems to work just fine.

You might also like...

Topic Replies Views Last reply
How to add a member to two user groups? In Support, started by Kathy, 8 months ago
4 506
empire's Avatar
empire8 months ago
Can i add meta tag ? In Support, started by nyambegeramakori, 5 months ago
3 508
Cory's Avatar
Cory5 months ago
2.0 Issues Popular in Support, started by Daedalus, 4 months ago
25 992
Daedalus's Avatar
Daedalus4 months ago
15 769
Deleted User's Avatar
Deleted User3 months ago
Best way to create a homepage for ForumSpark forums? Popular in Support, started by Gizmo, 2 months ago
14 603
Kathy's Avatar
Kathy2 months ago