• Resolved stevemarx

    (@stevemarx)


    Whats up guys! Hope everyone is staying safe with whats going on. This is my first website and I will be teaching myself programming. The issue that I have run into is that I am unable to move the tagline/site description. The site-title was moved just fine with the code:
    #site-title {
    text-align: center;
    margin-left: 0 !important;
    }
    I tried to do that again with #site-description but it refused to move. Any suggestions or help? I would really appreciate it.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • the site description is (surprise):

    <p class="tagline">Bringing a Better Quality of Life for a Vast Quantity of People</p>

    a few minutes with the browser tool ‘inspect element’ or ‘inspect’ (on right-click on windows) could have given you that information;
    or even a quick look into the html code of your site in the browser; right-click ‘view source’ or similar…

    Thread Starter stevemarx

    (@stevemarx)

    I used the inspect tool and saw that it was “tagline” instead of site description. Yesterday when I was fiddling around with this I also tried #tagline instead of #site-description to center it. It did not work.

    However, whiling inspecting, I was able to see that “site-container” can be changed to have a “center” margin and that seemed to do the trick. I appreciate your help.

    For future reference, why do you think that
    #site-description (or “tagline”) {
    text-align: center;
    margin-left: 0 !important;
    }
    did not work?
    (I even tried #tagline again just to make sure.)

    Thread Starter stevemarx

    (@stevemarx)

    Scratch that, my temporary fix through the “inspect” does not work. (I’m learning!)

    Thread Starter stevemarx

    (@stevemarx)

    It looks to me the problem is that “tagline” was not given its own I.D., and appears to just be there for the ride-along. Thoughts?

    Thread Starter stevemarx

    (@stevemarx)

    I figured it out. Something stupid and simple. Needed to use a . instead of #. Marked as resolved. Cheers Mike!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘cant move tagline/site description’ is closed to new replies.