WordPress.org

Forums

Adding Dynamic Content From External Website. (7 posts)

  1. SWC76801
    Member
    Posted 5 years ago #

    My blog's address is http://www.LittleIndianConstruction.com.

    I want to have a section in my sidebar where I will display dynamic data from another website (http://www.bcwid.org/mobile/). The data is the water level of a Texas Lake.

    I have used an iFrame to successfully display the information, but it looks terrible. Is it possible to re-format the fonts contained in the iFrame? Or is there better way to pull the information.

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    It should be possible to style the iframe's contents using CSS such as iframe p etc.

  3. SWC76801
    Member
    Posted 5 years ago #

    Thanks for your suggestion! I've spent the last hour searching google for information on "iframe p" but haven't found anything. My CSS skills are poor to non-existent. My ignorance appalls me. Can you send me to a good tutorial or help explain what I need to do so even a dummy like me can understand?

  4. esmi
    Forum Moderator
    Posted 5 years ago #

    It's just simple basic CSS. If you don't know much about CSS a good place to start is:

    CSS Tutorials
    Learning CSS

  5. SWC76801
    Member
    Posted 5 years ago #

    I've spent the last several hours reading through both of the tutorials trying to find the answer. My ignorance is keeping me from even finding the correct topic, much less being able to figure out how to resolve the problem. Sorry that I'm such a dumbass.

  6. esmi
    Forum Moderator
    Posted 5 years ago #

    Try adding:

    .sidebar .textwidget iframe p {
    	color:#333;
    	font-size:11px;
    }

    to the bottom of your stylesheet.

  7. SWC76801
    Member
    Posted 5 years ago #

    I've added the css to the stylesheet but it doesn't seem to have changed anything. I've tried changing the setting for "font-size" to a ridiculously high value like "72" and still can't see any changes.

Topic Closed

This topic has been closed to new replies.

About this Topic