HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


How to edit main_countdown text

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#86865 (In Topic #17727)
Avatar

Well-settled

I was looking to change the text on the main_countdown but I guess I have hit a mental block.

Where would you go to do this?

Specifically looking to change:
  • The "to go" to something like "till server payment is due".
  • Change the color of the numbers counting down.
  • Change the spacing to center the block.

Don't be skeerd its me learning ocPortal.
Take a look you never know what its going to be like.
Here is the box of chocolate link. 

Expand: What the site is to be for. What the site is to be for.

Back to the top
 
Posted
Item has a rating of 5 (Liked by Sahs)  
Rating:
#86887
Avatar

Community saint

I'm afraid there's not a whole lot you can do inside the "Block" without some knowledge of PHP and the makings of ocPortal main_countdown.php block and its templates.

However, you could easily apply local styling around the block to change the text color, background and size. Apply some margin spacing to center the block. Add a heading.

Here is an example of code used to wrap around your block:

Code

<h1>countdown</h1>
<div style="font-size:14px;background-color:yellow;margin-left:20px;">
[your block here]
</div>
Back to the top
 
Posted
Item has a rating of 5 (Liked by Jean)  
Rating:
#86895
Avatar

Well-settled

Jean said

I'm afraid there's not a whole lot you can do inside the "Block" without some knowledge of PHP and the makings of ocPortal main_countdown.php block and its templates.

However, you could easily apply local styling around the block to change the text color, background and size. Apply some margin spacing to center the block. Add a heading.

Here is an example of code used to wrap around your block:

Code

<h1>countdown</h1>
<div style="font-size:14px;background-color:yellow;margin-left:20px;">
[your block here]
</div>
​Thanks Jean I appreciate your help. :thumbs:

Don't be skeerd its me learning ocPortal.
Take a look you never know what its going to be like.
Here is the box of chocolate link. 

Expand: What the site is to be for. What the site is to be for.

Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: