We'd like to remind Forumites to please avoid political debate on the Forum... Read More »
We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Maybe I'm Been Lazy Or Expecting To Much!
Options

kah22
Posts: 1,876 Forumite



in Techie Stuff
I'm wondering if any of you Wordpress guys could supply me with a short-cut 
At the moment I'm updating my creative writers blog; one section of the blog gives information about current contests. The information is given in the following format:
Name Of Competition
Brief Description
Closing Date
Entry Fee
Organizers Contact Info
What I'm aiming to do is make the Name Of Competition stand out a little and I've done that by adding the following style to my custom style sheet:
What I'm after is a way I can automate/semi-automate this process; for example could you put the name of the style h3.competitions into say where you have your paragraph and header tags then just select and click on h3.competitions just as you would on paragraph?
Are there any plugins that will help me do this?
As I said the above is just a 'for example.' I know very little about css and how to control it, I'm just after something to speed the process up and automate it so that I don't do anything silly like leave out a '<' or something like that. It's easy done when I was writing the css code I left out the ':' and ';' but thanks to the board the problem was quickly found
Any advice on how I can short cut the writing out of the whole style would be appreciated

At the moment I'm updating my creative writers blog; one section of the blog gives information about current contests. The information is given in the following format:
Name Of Competition
Brief Description
Closing Date
Entry Fee
Organizers Contact Info
What I'm aiming to do is make the Name Of Competition stand out a little and I've done that by adding the following style to my custom style sheet:
Within WordPress my opening line would look like this:/*Competition Header Text*/
h3.competitions {
font-size: 15px;
font-family: arial,sans-serif;
font-weight: 400;
font-style: normal;
color: 008000;
}
My problem, if you can call it one, is this. Every sixth line I'm going to have to start writing <h3 class="competitions">Name Of Competition</h3> and to be honest if you are publishing eight or ten competitions at a time that's a bit of a pain.<h3 class="competitions">Name Of Competition</h3>
What I'm after is a way I can automate/semi-automate this process; for example could you put the name of the style h3.competitions into say where you have your paragraph and header tags then just select and click on h3.competitions just as you would on paragraph?
Are there any plugins that will help me do this?
As I said the above is just a 'for example.' I know very little about css and how to control it, I'm just after something to speed the process up and automate it so that I don't do anything silly like leave out a '<' or something like that. It's easy done when I was writing the css code I left out the ':' and ';' but thanks to the board the problem was quickly found

Any advice on how I can short cut the writing out of the whole style would be appreciated
0
Comments
-
I take it your kind of after a text field in the edit page system where you can simly type the name of the competition and it does the h3 class tags all for you behind the scenes.
could you not just copy and paste the code from the last competition entry and then edit the words0
This discussion has been closed.
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 351K Banking & Borrowing
- 253.1K Reduce Debt & Boost Income
- 453.6K Spending & Discounts
- 244K Work, Benefits & Business
- 598.9K Mortgages, Homes & Bills
- 176.9K Life & Family
- 257.3K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.1K Discuss & Feedback
- 37.6K Read-Only Boards