Daily Lucky Numbers:
3
20
24
31
33
38

Recent posts

#31
General Code/Script Inquiries / Re: Hide content
Last post by Chen Zhen - April 12, 2025, 12:00:12 AM
You're not explaining what you're trying to accomplish in detail.

Do you want members to have the ability to read the initial (first) post in a topic but can't view any replies unless they have replied to that same topic?

-- or --

Do you want members to have the ability to read the initial (first) post in a topic but can't view any replies by other people and can only view their own replies and any replies from the original topic starter?
#32
EhPortal Support / Re: space between blocks left ...
Last post by deansmar - April 10, 2025, 03:43:41 AM
i have found the code in Portal.css that is responsible for the space between blocks left or right..

find
#sp_main
{
width: 100%;
border-spacing: 5px;
table-layout: fixed;
}

and alter

#sp_main
{
width: 100%;
border-spacing: 3px;
table-layout: fixed;
}
8)
#33
EhPortal Support / Re: space between blocks left ...
Last post by Chen Zhen - April 09, 2025, 06:26:50 PM

It's because that's not the correct class to adjust.
Try adding padding to the ehPortal_cell class.

Find & edit that class from the portal.css file.

Something like this:
.ehPortal_cell {
display: table-cell;
padding: 0em 0.3em;
}

.. I don't know exactly how you want the padding adjusted, so you'll have to use trial & error until you get the desired effect.
#34
EhPortal Support / Re: space between blocks left ...
Last post by deansmar - April 09, 2025, 04:57:08 PM
sorry to say.. the spaceing between blocks left or right remaind the same, no change..
as can be seen in the attachemt
#35
EhPortal Support / Re: space between blocks left ...
Last post by Chen Zhen - April 09, 2025, 01:51:14 PM

You can try using the CSS short hand property for padding for that class to see if it has the desired effect.

Short hand properties are implemented sort of like an analog clock in quarter increments.

  • top, right, bottom, left
  • top|bottom, right|left
  • top, right|left, bottom
  • top|bottom|right|left

So if you want to keep the 0.3em for the bottom, nothing for the top & apply the 0.3em to the left & right then it's like this:

.sp_block_section
{
padding: 0em 0.3em 0.3em;
}

#36
EhPortal Support / space between blocks left or r...
Last post by deansmar - April 09, 2025, 04:54:16 AM
I know there is a chance to alter the space between block vertically

.sp_block_section
{
padding-bottom: 0.3em;
}

But I seem unable to find the padding for left and right.. any help please..
#37
EhPortal Support / Re: Block Title Center
Last post by deansmar - April 06, 2025, 10:04:07 AM
Custom Title Class: centertext

Worked for me... thank you.. 8)
#38
EhPortal Support / Re: Block Title Center
Last post by Chen Zhen - April 05, 2025, 04:33:13 PM

You can use a CSS class or inline style to adjust the positioning of block titles.

Try:

Custom Title Class: centertext

-- or --

Custom Title Style: text-align: center;
#39
EhPortal Support / Block Title Center
Last post by deansmar - April 05, 2025, 08:22:17 AM
i have searched high and low..  even looked for an explaination document..  txt. in the ehportal.zip file..
but i didnt find what i was looking for..

in the block editor, i would like to center the Block Title.. (name of block) that appears in the top of the block..

i would imagine it can be entered in the Style Options:
under, Custom Title Class: or Custom Title Style:

for example #center..?

could anyone point me in the right direction please..
#40
Site Discussion / Re: After logging in I don't s...
Last post by Chen Zhen - March 28, 2025, 03:13:53 AM

The Arcade section is open to new users therefore you do have access.