WordPress.org

Ready to get started?Download WordPress

Forums

How to Change Paragraph text and Spacing (7 posts)

  1. ontargetpro
    Member
    Posted 3 years ago #

    I have never had this problem before, but the site I am working on http://www.barcelonapublishers.com is posing a challenge. I want to change the paragraph text to 14px. I changed it in the style.css file and it made no difference. I can change line height there and it changes the height, but nothing I do changes the font size. I have tried changing it in the body css and at .hentry .entry .

    Also, I need some line/paragraph breaks. On this page, http://www.barcelonapublishers.com/e-books/ there are actually several paragraph breaks between each item, but it does not show up when you publish the page. How can I change these things? Thank you!

  2. ontargetpro
    Member
    Posted 3 years ago #

    I got some of the line breaks fixed by removing the margin:0 and padding:0 attributes from p in the stylesheet. It is still ignoring multiple paragraphs though. AND I haven't figured out how to change the regular text font size.

  3. 123milliseconds
    Member
    Posted 3 years ago #

    element.style {
    font-size: medium;
    }

  4. Gabe Young
    Member
    Posted 3 years ago #

    Some themes also have a setting that allows you to change font size. Before you go messing around with the CSS again, check the settings.

  5. ontargetpro
    Member
    Posted 3 years ago #

    Thanks 123milliseconds! Strangely, this theme does not have those settings.

    Any idea why <p />tags are ignored completely?

  6. 123milliseconds
    Member
    Posted 3 years ago #

    http://en.forums.wordpress.com/topic/visual-editor-is-stripping-out-html-line-break-and-paragraph-tags

    <br class="blank" />

    or

    <div> </div>

    or

    <div style="height:20px;">

  7. AntonShevchuk
    Member
    Posted 3 years ago #

    Hi,
    For change font size in Constructor theme you should be write small CSS rule on CSS tab (on customize page):

    .hentry .entry p {
        font-size:14px !important;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic