Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • wmike1503 Friend
    #175214

    I am trying out JA_T3_blank.

    I have been following the video tutorials for this on a local machine.

    I am working on my own theme which sits in the JA_T3_blank themes folder.

    As an example, I have a text logo in my header – following the tutorials for themes I try the following in my theme template.css:

    h1.logo, div.logo-text {
    text-align: center; (this has no effect whatsoever)
    position: relative;
    z-index: 1;
    }

    However, if I try
    ‘h1.logo, div.logo-text h1 { font-size: 250%; line-height: 1; margin-left: 350px;
    color: #FFFFFF;
    }’

    The logo is affected by the margin and colour. If I apply ‘text-align: center’ to the div above – no effect whatsoever.

    This should place the logo in the centre of the header div – it has no effect whatsoever.

    I have tried placing ‘text-align: center;’ in various places in the template.css, such as the header – none have any impact on were the logo is placed. It sits, resolutely to the left of the header.

    If you have any suggestions, I would be most grateful.

    As I said, I have carefully followed the tutorials and use firebug to edit the live css – nothing seems to impact the logo placement.

    Cheers,

    Mike

    TomC Moderator
    #444718

    <em>@wmike1503 308854 wrote:</em><blockquote>
    If you have any suggestions, I would be most grateful.
    Mike</blockquote>
    Just so I understand . . . . does the “margin-left” method achieve the result you wanted?

    wmike1503 Friend
    #444719

    Hi Tom,

    In this instance it does.

    I am, however, trying to get to grips with the functionality of the template. I’m interested in why certain css is not working on certain elements.

    Cheers,

    Mike

    TomC Moderator
    #444721

    It’s difficult to tell sometimes. It could be a conflict with another CSS rule for another element that prevents or overrides a certain styling from displaying as it otherwise should. This is why I asked about whether the margin-left modification worked … I have utilized this method myself for certain things here and there.

    wmike1503 Friend
    #444722

    Hi Tom,

    Agreed. Using the margin is OK in this instance. But, of course, there will be other times where this won’t work, particularly if using a fluid design.

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 2 voices, and was last updated by  wmike1503 12 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum