Jump to content

DavvaM

New Members
  • Posts

    1
  • Joined

  • Last visited

DavvaM's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I am trying to show a header image on my home page. In the backend it is possible to select a checkbox for each news post and event post that will show a header image on the home page. At the moment if I select to show an event post image it still leaves the div space above for the news post image, so we need to hide his if an event image is selected and vice versa. Would this be possible with if/else statements? Below are the PHP functions <div class="col- big-news-here"> <?= $news2[0] ?> <?= $eventsHome[0] ?> </div> So basically, If news image is selected show the news div and banner If the events banner is selected show the events div and banner and hide news div. Many thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.