I am a bit of a newbie to Joomla and I am using Joomla version 3.9.20
My test site url is https://nernmra.org/test
My template is a copy of the beez3 template
What I am trying to do is set the background color of the Logo section but it is not working for me.
This is the code in my user.css file: (located in my template "css" folder)
Code: Select all
/* logo header */
.logoheader {
background-color: rgba(128, 0, 0, 1);
}
I have been able to trace this back to this bit of code in the "index.php" file in my template
Code: Select all
if ($color === 'image')
{
$this->addStyleDeclaration("
.logoheader {
background: url('" . $this->baseurl . "/" . htmlspecialchars($headerImage) . "') no-repeat right;
}
body {
background: " . $this->params->get('backgroundcolor') . ";
}");
}
// Check for a custom CSS file
JHtml::_('stylesheet', 'user.css', array('version' => 'auto', 'relative' => true));
I searched though the forum here and from what I can determine I am doing this correctly but I guess there is something going on I don't understand. If someone could provide some guidance or direct me to another topic that explains this problem and how to solve it, I would greatly appreciate the assistance.
Thank you
David