• Hello! To say I’m new to WordPress is an understatement. I only began using it about three days ago. I’ve figured most things out on my own, but I’m wondering if I’m up against a Theme-thing, or if I’m just missing the obvious?

    When I’m editing a page, the editor window gives me some basic options like bolding, url linking, and changing the font style.

    What it doesn’t give me, however, is a way to put a border, or shade, a particular paragraph or text. I assume this would be done using styles (header 1, header 2, etc).. But where do I define new styles? I would like to make a style based on “Paragraph,” and then modified with a border, or maybe some background shading; similar to what you’d do in MS-Word. I know that HTML supports that concept. I just don’t know how to bring that into my WP theme.

    FWIW, I’m using the twenty thirteen theme, at https://audiodane.dandk.org

    thanks,
    ..dane

Viewing 6 replies - 1 through 6 (of 6 total)
  • Totally possible! But to add css style changes, you’ll want to create a child theme that contains a style.css file, or use a custom css plugin, so that any changes you make are not overwritten the next time you update the theme.

    Thread Starter audiodane

    (@audiodane)

    Thanks lettergrade!

    So here’s my next question. Can I create a Child Theme from within WP itself? I am using a hosting service where all I had to do was “create subdomain” and then “install WordPress.” Then I logged into the WP account in the created subdomain and jumped straight into the admin control panel. I didn’t have to mess with anything else. Rather nice, actually.

    So, do I really need to dive down to the guts to do this, or is there a higher level “user friendly” approach?

    I suppose that’s why the other option exists to have a custom css plugin– so that even if my root theme changes, my custom css plugin settings won’t?

    Are there other pros or cons to each approach that I should know about?

    thanks for your reply!
    ..dane

    Thread Starter audiodane

    (@audiodane)

    If I create a custom CSS and then change my theme, does my custom CSS plugin stay or vanish? I suppose a custom CSS may be more “portable” than a child theme, in case I decide to change the theme, right? Or am I mistaken?

    thanks..

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    From reading the original post it sounds like you are wanting a post editor. Now, the thing to keep in mind with those is that it will create inline styles so it will often times override any styling any theme will do.

    Like lettergrade suggested it is a good idea to use a CSS plugin in order to style the post and make any styling of the theme because the plugin remains active unless you deactivate it. There are some themes that have that functionality built in to make things a little easier but it doesn’t guarantee that it will transfer over to other themes.

    Now, for the second question about a child theme: Yes, there are plugins that are capable of doing this. Can’t really recommend any since I’ve never used one. ( yet )

    Thread Starter audiodane

    (@audiodane)

    Jose-

    Yes, I am not interested in creating a child theme per se.. I am okay with either creating new styles, or simply embedding the desired css formatting within particular paragraphs. I can see the advantages to both. Styles are probably the better way to go (I always push styles in Word because it makes things more consistent as the document grows). I am glad to hear that custom styles created by a plugin stay with the plugin even if the theme changes. Though I am sure they are also based on parent styles, and if a parent style changes due to a theme change, then I likely need to check all my custom styles as well to ensure they still look the way I’d like them to.

    I suppose I’m after a good style editor, then.. I’ll go start having a look around..

    thanks to everyone for your help so far!
    ..dane

    Thread Starter audiodane

    (@audiodane)

    Well I finally got around to creating a child theme, and the site is now using it. I am also now using TinyMCE to custom define some boxes around some text as seen in this post (https://audiodane.dandk.org/preliminary-pmcv1-pricing). I would like to turn this into a drop-down style in the post editor “format” dropdown.

    I have created the child theme and created a small style.css page in that theme to reference the parent. I gather that I add the new style formats here. How do I do that?

    Here is a snapshot of the editor window (https://audiodane.dandk.org/?attachment_id=345) .. I’m wanting to add a style called “boxed” to the dropdown list shown..

    thanks!
    ..dane

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How do I put a border around a paragraph?’ is closed to new replies.