• Resolved elstellino

    (@elstellino)


    Hello again. I managed to modify my website as I wanted to, soon I will start writing the contents too. Still, there are two little things I can’t modify: in the home page, the caption of the main image has a title which behaves as <h1> and then I wanted to add an Italic text (done) as subtitle. Playing with the h-tags in front-page.php didn’t bring any joy, even tagging as <h1> the second line just modifies the indent.
    Any idea how to give a bigger size to that “Welcome clarity” please?

    Then, in the pages of the website I write via the wordpress interface, the <p> tags don’t seem to work as they should. All the text is in one block – uninspiring to be read – rather than having a line of space to break it down a bit and making it more pleasant to the eye.
    I honestly have no clue how to obtain this either, any help would be really appreciated.

    Thanks,
    Luca
    https://pedrazzi.eu/wp

Viewing 8 replies - 1 through 8 (of 8 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Any idea how to give a bigger size to that “Welcome clarity” please?

    .flex-caption h2 p {
     font-size: 100px;
    }

    Then, in the pages of the website

    Please link.

    Thread Starter elstellino

    (@elstellino)

    Thanks Andrew, although 100px was a bit too much ?? I guess it was meant to be a percentage value, in any case I did 18px (because I didn’t manage to give the appropriate size using the tag <h4> and 100% on the CSS), now it’s perfectly fine all across the website. But I understand that what I did can create potential future problems, right?

    Pages: all the other pages accessible from the menu, About, Fees, Contact

    here’s the Fees’ link for example:
    https://pedrazzi.eu/wp/fees/

    Thanks!
    Luca

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    But I understand that what I did can create potential future problems

    Not sure which problems you’re referring to.

    For the paragraphs, try adding this general style;

    p {
     margin: 10px 0;
    }

    Thread Starter elstellino

    (@elstellino)

    Not sure which problems you’re referring to.

    Well, because if I have other h2 fonts in the website they would change the size to 18px as well, instead of the 24px specified in the style.css file, or not?

    For the paragraphs, try adding this general style;

    p {
     margin: 10px 0;
    }

    This worked a treat, thanks! Marked as solved already!

    One thing, Andrew: I then discovered how to remove the hyperlink behaviour on the three features at the bottom, but as it was an additional question in the thread I opened (me stoopid), I now don’t know where to write about it.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Well, because if I have other h2 fonts in the website they would change the size to 18px as well, instead of the 24px specified in the style.css file, or not?

    Only other <h2> tags that are inside an element with the class ‘flex-caption’ and that have a paragraph child element will be affected.
    The style .flex-caption h2 p is actually applying to a paragraph.

    I now don’t know where to write about it.

    If it’s another thread, write your solution there. If it’s within this thread, write your solution here.

    Thread Starter elstellino

    (@elstellino)

    Thanks, that explains it well.

    If it’s another thread, write your solution there. If it’s within this thread, write your solution here.

    Thanks, I will write about it later in the other thread, then.
    But it won’t appear in searches, will it?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    But it won’t appear in searches, will it?

    All threads on www.ads-software.com are crawled by search engines. I’m not sure what you’re asking.

    Thread Starter elstellino

    (@elstellino)

    Sure they are, but we are also inserting tags. I guess I should add new ones, then, correct?
    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Formatting – Font Size / Paragraphs’ is closed to new replies.