Comments (1)
You don't want to edit the CSS, but add CSS that overrides it, so this would go into the ds106bank.css file as additional styles (I put a comment in the top to suggest a place to insert). You should make sure you have a copy somewhere of what you use, as future updates will overwrite this file.
To style the heading (in bold):
#examplemedia strong {
font-size: 20px;
font-color: pink;
}
To center the heading and URL:
.example-url {
text-align: center;
}
To style the link:
.example-url a {
font-size: 18px;
}
It already has the feature to do a media embed, if the URL points to something Wordpress can autoembed -YouTube, vimeo, twitter, soundcloud, flickr- this code in functions.php shows what URLs we autoembed:
$allowed_embeds = array(
'youtube.com/watch?',
'youtu.be',
'flickr.com/photos',
'flic.kr',
'vimeo.com',
'soundcloud.com',
'instagram.com',
'twitter.com',
'vine.co',
'imgur.com',
'animoto.com'
);
See these examples
http://udg.theagoraonline.net/bank/assignments/message-acapella-style
http://udg.theagoraonline.net/bank/assignments/mood-tone-generator
from ds106bank.
Related Issues (12)
- Syntax error line 457 HOT 4
- Customising Header Image in ds106bank HOT 3
- Form missing from "add a new example" page HOT 1
- display order sorting & date created HOT 2
- difficulty formatting embedded URLs HOT 5
- Page template error HOT 1
- WordPress 5.6 Breaks the Submission Previews HOT 3
- Fatal erre to enqueue media HOT 11
- Checkbox to eliminate/hide Examples & Tutorials aspects HOT 1
- Wordfence firewall issue HOT 1
- Remove sidebars? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ds106bank.