Need help? Check out our Support site, then


How To Add a CSS for a Paragraph within a Div Tag?

  1. Hi, everyone I got a question very seriously drive me crazy:

    I know how to edit a single tag's style.
    But I got trouble now:

    How to edit the font style of text under <p> within a <div> that class as, for example, mydiv

    Can anyone help me figure out how to write such CSS to edit this specific tag?

    Thanks A lot!

    The blog I need help with is adamchenitprofessional.wordpress.com.

  2. Please spot an active link starting with http:// to the blog in question. It cannot be the one linked to your username as that one is empty.

  3. edit: "spot " was meant to be "post" sorry :(

  4. To answer your question, you would do this:

    .mydiv p {
    someproperty: somevalue;
    }

    If you need further help, please post a WordPress.com URL as timethief requested. :)

  5. Also what about there is multiple div?
    For example, I want to change the <p> font color within a parent div class=oneparent, and under the child div class=twochild

    Actually this is my real problem at the moment..

    Thanks!

  6. @adamchenitprofessional
    Please post an active link starting with http:// to the blog you purchased a custom deign upgrade for.

  7. I am so sorry that I am not allowed to post the link until the site is fully published, and thats why so much hussel, please understand :)

  8. But I would really appreciate a answer that answer for the latest question and I am very thankful, however, the site link will be link to this post if its still open when its online for real :D

  9. the one above multiple div parent
    Let me paste the text again:

    "For example, I want to change the <p> font color within a parent div class=oneparent, and under the child div class=twochild

    Actually this is my real problem at the moment..

    Thanks!"

  10. Allow us to be crystal clear. We require a link to the free hosted WordPress.com blog in question. The fact it is private is irrelevant. We need the link in order to confirm that it is actually a free hosted WordPress.com blog you are referring to. Also as all CSS editing is theme specific we need to know exactly which theme you are CSS editing.

  11. its not really a free hosted WordPress, its a private hosting service :)

  12. Can you post an example html block instead? Or perhaps make an example at http://adamchenitprofessional.wordpress.com/ so we can see it in a URL?

  13. This forum is for WordPress.com blogs, so you can make an example at http://adamchenitprofessional.wordpress.com/ or head over to http://wordpress.org/support/ for help instead.

  14. Sure, I think I wil do that to post the plugin in my own press site
    Just a sec

  15. Oh wait......... We can not use plugin in a freee hosted wp site?

  16. its not really a free hosted WordPress, its a private hosting service :)

    Indeed and that's why we asked for the URL. WordPress.com and WordPress.org run on different software and the themes by the same name are not the same versions. The themes are coded to run on either one or the other.
    WordPress.com vs WordPress.org: The Differences

  17. We can not use plugin in a freee hosted wp site?

    No you cannot. There is no FTP access and we cannot upload plugins. Please read http://support.wordpress.com/com-vs-org/

  18. Ok, I posted the code I am in question in my blog here:

    http://adamchenitprofessional.wordpress.com/2012/01/10/sample-html-from-my-site/

    Thanks everyone :D

  19. The Goal is to change the text:

    <p>AIG CT New Case Submission Checklist
    AIG CT Master Application
    AIG CT Employee Enrollment Form
    AIG CT Evidence of Insurability
    AIG CT Waiver Form
    AIG CT Change of Beneficiary Form
    AIG CT Salary Change and Term…</p>
    </div>

    Into white text

  20. Guys, Thanks for your assistance, but I found the errors after I tried to place the same plugin in one of my own site.

    But Thanks
    The problem may lay with my own CSS put into.

  21. it is my setting on css, confirmed

Topic Closed

This topic has been closed to new replies.

About this Topic