WordPress.org

Ready to get started?Download WordPress

Forums

revolving text inside box in content area not in sidebar (13 posts)

  1. djdancer
    Member
    Posted 2 years ago #

    I'm looking for some help to add some revolving text inside a box in my content area and not my sidebar. Tried all kinds of widgets but they are all for sidebar in which I don't have one. I only want this text on home page.

  2. vtxyzzy
    Member
    Posted 2 years ago #

    It is nearly impossible to answer this question without examining the code for the template being used for the home page.

    If you are using a free theme, post a link to your site here and someone might be able to help.

    If you are using a purchased theme, we cannot examine its code or options. You should contact the theme supplier for help.

  3. djdancer
    Member
    Posted 2 years ago #

  4. vtxyzzy
    Member
    Posted 2 years ago #

    Is your Home page a static page? If so, edit it, switch to HTML mode, and enter this as the first line:

    <marquee>Put the text you want to scroll here.</marquee>

    If you want to style the text, add a class to the marquee tag and add the style rules to the end of style.css.

    You should create a Child theme to make your changes to style.css. If you do not, all of your changes will be lost if you update your theme.

  5. djdancer
    Member
    Posted 2 years ago #

    How to make a child theme? I am way to new at this.

  6. vtxyzzy
    Member
    Posted 2 years ago #

    The link I posted above gives instructions.

  7. djdancer
    Member
    Posted 2 years ago #

    Thanks. I'll give that a try later on today if I have time. This is my first WordPress website and I've struggled my way through quite a bit.

    I ma using Twenty Ten. Does that matter? Also, could I copy the existing styles.css, function.php, etc that I already have and how will this affect my site that I have now? Should I have created this child theme from the beginning and how do you point all of your stuff over to the child theme instead of the one that is provided when first installing a site?
    What happens if I stick to the same theme for now as I've already built most of my site and don't know what it will mess up at this point.

    I apologize for all of the questions but I don't want to just go through the motions without an understanding of why I am doing it.
    Thanks!!

  8. djdancer
    Member
    Posted 2 years ago #

    Okay. I put the <marquee>Put the text you want to scroll here.</marquee> into the html. It scrolls but I was looking for something with a box of revolving text. I do like the marquee and might be able to use it on another site but not this one.
    Thanks so far!!

  9. vtxyzzy
    Member
    Posted 2 years ago #

    Please explain what you mean by 'revolving text'.

  10. vtxyzzy
    Member
    Posted 2 years ago #

    You should create a child theme before making any modifications. Twenty Ten will be OK for a parent theme.

    You should copy every file you have modified (except functions.php) into your child theme's folder. If you copy style.css, You will need to modify it to specify Twenty Ten as the parent and include the TT style.css.

    Functions.php is a special case because some functions cannot be overridden. You will need to remove any code you added there and put it into a new functions.php in your child theme.

    If you would like more help than can be provided here, please use this Contact Me form for further support.

  11. djdancer
    Member
    Posted 2 years ago #

    They want a box that contains text that changes every few seconds. I downloaded some widgets but they don't work because they are for sidebars and the client had me get rid of all of the sidebars. They didn't want them.
    They also asked me to put a box around the social icons but it took me forever to learn how to program just the social icons themselves. They worked fine in the sidebar until the client said they didn't want the sidebar.
    I probably do need more help then. You said not to move the functions.php but all of the social icon code is setup in there and it took me weeks to get it that way. What happens to all of the stuff I've already setup on the site? How does the site now know how to look at the new child instead of the parent where it is now?
    Thank you!!

  12. vtxyzzy
    Member
    Posted 2 years ago #

    Once you have set up the child theme, you activate it at Admin->Appearance->Themes.

    If you will use the contact page link I posted above, we can discuss options. Also, please look at the home page of the site.

  13. djdancer
    Member
    Posted 2 years ago #

    What should I call the child theme folder and which directory do I put the child them folder in?

Topic Closed

This topic has been closed to new replies.

About this Topic