transparent background for article and navbar

More
1 month 2 days ago #12590 by aurogirl
aurogirl created the topic: transparent background for article and navbar
Hello!

I'm creating a website that uses a image as background, so the article has a background color and so is the navbar menu how can I set it to be transparent?

I already used the custom.less file and added

.jm-content .jm-module {

background-color: transparent;

But that caused for the image to be gone, so I know that's not proper way. Can you help me on this?

Thanks

Please Log in or Create an account to join the conversation.

More
1 month 1 day ago #12592 by marcin
marcin replied the topic: transparent background for article and navbar
Hi,

You can try with this style for the content area:

#jm-maincontent {
background: none;
border: 0;
}

For modules you can use "blank-ms" module class suffix.

Regards,
Marcin

Please Log in or Create an account to join the conversation.

More
1 month 1 day ago #12594 by aurogirl
aurogirl replied the topic: transparent background for article and navbar
Hello, marcin

It worked, but it also erased the image for the background I had. Can I still have that image visible?

Please Log in or Create an account to join the conversation.

More
1 month 20 hours ago #12596 by marcin
marcin replied the topic: transparent background for article and navbar
Hi,

It depends for which element you have added the background image?
If it is the #jm-maincontent then you can use "background-color: none" instead of "background: none" or try adding the background image for a different element.

Regards,
Marcin

Please Log in or Create an account to join the conversation.

Time to create page: 0.210 seconds

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2019 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.