How to change text font and size in the slider

  • bigdummy

    #9474

    Hi all,

    I’m a total noob putting together my first site, and was hoping to get some help editing the slider.

    I am happy with the way the title of the post shows up in the slider, but I would like to edit the way the main paragraph text looks in the slider.

    Is there some code I can copy and paste into the “Custom CSS Styles” area, in order to change the size and style of the font for the main paragraph text (not the title) in the slider?

    Also, is there a way to add some spacing between the title and paragraph text in the slider – right now, the paragraph text is right under the title and I’d like to move it down a bit so its farther away from the title?

    Thanks!

    Anonymous

    #43687

    1. Inform yourself how to create a child theme.

    Child theme = copy of the original theme

    Which means you can play around with your child theme as you please without the risk of messing up the original one. It’s also safer in regards of updates.

    Basically your child theme uses the original themes files but you can add all changes to the files of the child theme.

    2. Changing the font:

    .slider_post_entry p {
    font: italic bold 12px/30px Georgia, serif;
    }

    You can add the above code to your child themes “style.css” file.

    This changes the text in the slider. Just google “CSS fonts” to find something that you like. Just replace “italic bold 12px/30px Georgia, serif” to something else because it was just an example of how the code will look like.

    3. To put a little space between title and text you can use the following:

    .slider_post_entry p {
    margin-top: 15px;
    }

    This puts a 15px space inbetween the 2 segments. Change this to your liking.

    bigdummy

    #43688

    Great, thanks very much!

    Mod

    Kenneth John Odle

    #43689

    Marking thread as resolved. You can do this yourself as well.

Viewing 4 posts - 1 through 4 (of 4 total)

  • You must be logged in to reply to this topic.