Jump to content

If you do not have WORDPRESS, then we CREATED a JAVASCRIPT and PHP version


George

Recommended Posts

Shalom everyone,

While not everyone runs a WordPress site, we have provided a means by which you can display the latest Worthy News and Worthy Devotions on your site.

We have both a PHP and a JAVASCRIPT version.  To create the proper code to insert into your page, simply go to the CODE GENERATOR and create a script for site.

If you have any questions, simply ask away!

God bless,

George

Link to comment
Share on other sites

  • George pinned this topic
  • 3 weeks later...
On 4/16/2020 at 8:19 PM, YHWHrulz said:

Shalom

I have used the Javascript code with no problems but would like to know if there is a way to slightly increase the font size as some of our older members are having some difficulty reading the text as it stands.

 

Thanks

Shalom YHWrlz,

These are the classes you can set up in a CSS File to control every aspect of the script.

worthy_news_stories is the DIV that controls the entire widget

then you have ... worthy _news_story_title is the class to control the title 

and then worthy_news_story_excerpt ... is the class to control the excerpt

So you could in your CSS something like this

.worthy_news_stories { width:300px; border: 1px solid #000; padding:5px; }
.worthy_news_story_title { font-size:15px; }
.worthy_news_story_excerpt { font-size:12px; }

In this CSS it would create a solid box with 1 point solid black border with a 5 pixel border for all the content within the stories div.  Within the div you would have a title that is 15 pixels and a excerpt under it with 12 pixels.

Basically you have complete freedom to control its output with the 3 classes.

God bless,

George

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...