Page 1 of 1

remove text on modules

Posted: 10. April 2021 10:32
by Viragohelp
I did a search but didn't see what I need.
I am wondering if it is possible to have no text at the top of a module? If I leave no text my module appears in my list blank with no name. If I did this to all it would be quite confusing. Also on custom blocs it automatically adds CUSTOM BLOCK in the space I want blank. Is there a way to still enter my module names in my acp but have them all be blank when they display on my website?

What would be great is on module creation have an extra line for text to be displayed at the top of module which can be left blank if you do not want text there.
And the current line for Module Name only be for the module name and not be displayed as text on the module itself.
I also notice module name text is forced to be displayed as capital letters regardless if you use caps or not.

Re: remove text on modules

Posted: 10. April 2021 16:20
by Kirk
Which module (Name, Postion of Module) would you like to have no text displayed?
Viragohelp wrote: 10. April 2021 10:32 I also notice module name text is forced to be displayed as capital letters regardless if you use caps or not.
This is because of prosilver.
Open: root/styles/prosilver/theme/content.css
Find:

Code: Select all

li.header dt, li.header dd {
	line-height: 1em;
	border-left-width: 0;
	margin: 2px 0 4px 0;
	padding-top: 2px;
	padding-bottom: 2px;
	font-size: 1em;
	font-family: Arial, Helvetica, sans-serif;
	text-transform: uppercase;
}
In line find:

Code: Select all

	text-transform: uppercase;
Replace with:

Code: Select all

	text-transform: inherit;
In the end "ACP -> General" --> purge cache It's recommended to purge your browser cache too.

Re: remove text on modules

Posted: 11. April 2021 10:54
by Viragohelp
Thank you. That will get rid of caps. As for which module... All of them to be honest.

Re: remove text on modules

Posted: 11. April 2021 11:30
by Kirk
Go to the directory root/ext/board3/portal/styles/prosilver/template/portal/modules/
Open all files
Find and delete this: {$TITLE}
In the end "ACP -> General" --> purge cache It's recommended to purge your browser cache too.

Re: remove text on modules

Posted: 11. April 2021 11:33
by Viragohelp
Kirk wrote: 10. April 2021 16:20 Which module (Name, Postion of Module) would you like to have no text displayed?
Viragohelp wrote: 10. April 2021 10:32 I also notice module name text is forced to be displayed as capital letters regardless if you use caps or not.
This is because of prosilver.
Open: root/styles/prosilver/theme/content.css
Find:

Code: Select all

li.header dt, li.header dd {
	line-height: 1em;
	border-left-width: 0;
	margin: 2px 0 4px 0;
	padding-top: 2px;
	padding-bottom: 2px;
	font-size: 1em;
	font-family: Arial, Helvetica, sans-serif;
	text-transform: uppercase;
}
In line find:

Code: Select all

	text-transform: uppercase;
Replace with:

Code: Select all

	text-transform: inherit;
In the end "ACP -> General" --> purge cache It's recommended to purge your browser cache too.
I tried this. Purged board cache. Then deleted my cookies using link at bottom of board. I also went into my browser settings and deleted all cookies and cache. It still displays as capitals. Any ideas?

Re: remove text on modules

Posted: 11. April 2021 12:08
by Kirk
You have not made the changes in content.css.

Re: remove text on modules

Posted: 11. April 2021 16:09
by Viragohelp
Image

as you can see it is already done as I stated in my other post

Re: remove text on modules

Posted: 11. April 2021 16:35
by Kirk
It is now displayed correctly
b3p_welcome_module.jpg

Re: remove text on modules

Posted: 11. April 2021 16:47
by Viragohelp
wth.. ive cleared cokies. why isnt it showing properly for me... isnt hard clear ookies

Re: remove text on modules

Posted: 11. April 2021 16:50
by Viragohelp
i haad to close browser.. so odd. tyvm for helping!! Looks so much better ty ty ty


now how can I have modules named with no text showing at the top?

Re: remove text on modules

Posted: 11. April 2021 17:09
by Kirk
Viragohelp wrote: 11. April 2021 16:50 now how can I have modules named with no text showing at the top?
https://www.board3.de/viewtopic.php?p=38764#p38764

:roll: