search

Home  >  Q&A  >  body text

Change mybb forum theme icon

<p>Using the code here, it gives a random picture of the subject, I want to turn that picture into a single image, what should I replace this code with? </p> <p><code> <div class="forum-symbol" role="img" aria-label="{$forum['name']}" style="background-image: url('{$ forum[' v7_modern_asset_url']}/images/forum/{$forum['fid']}.png')"></code> What should I replace this code with</p>
P粉316423089P粉316423089484 days ago627

reply all(1)I'll reply

  • P粉068486220

    P粉0684862202023-09-01 10:42:28

    I think this is inside the loop You need to give the image URL an absolute path For example.

    <div class="forum-symbol" role="img" aria-label="{$forum['name']}" style="background-image: url('/folder/image-name.png')">

    Hope this helps

    reply
    0
  • Cancelreply