Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • ash1111 Friend
    #132903

    How can I remove this line on the ‘banner’ module.


    1. Untitled
    pdafre4k Friend
    #268521

    Try this dont forget to backup. And sorry if im wrong 🙂

    Open TemplateFolders/css/templates.css
    FIND (Line 1259)
    #ja-banner {
    margin: 0;
    padding-top: 15px;
    text-align: center;
    overflow: hidden;
    width: 100%;
    border-top: 1px solid #CCCCCC;
    }

    Replace with
    #ja-banner {
    margin: 0;
    padding-top: 15px;
    text-align: center;
    overflow: hidden;
    width: 100%;
    }

    cgc0202 Friend
    #268540

    <em>@ash1111 77410 wrote:</em><blockquote>Tar, another question sorry. http://www.themeparknewsdirect.com

    See the space between the ad and the other module isn’t even? Is there a chance to alter that?</blockquote>

    Hi ash,

    You can allter almost any layout format in a template — remove a line, change color, sizes, fonts, make letters all captial, all small letters, smal; and capital letters, add or change the padding, margin, underline, bold, etc, etc, etc.– basically almost anything you want.

    To achieve what you eant, it requires a bit of understanding of what is called CSS, as defined in the various css files. Examples of these CSS specifications are the ones shown in the previous response

    This will require you to understand and know where to locate the css files are, and for you to become familiar with them. Most of these css files are in the templates directories (via FTP). For example, for the Teline II template:

    templates => ja_teline_ii => css => (css files here)

    for many of the css files that defile the layout of the Teline II template components.

    More than likely, many of the ones that you want to change are in template.css (via FTP):

    templates => ja_teline_ii => css => template.css

    Some of these are also found in the respective modules. So, you have to know what feature you are dealing with, and where you are likely to find them.

    Check also the system directory in the templates directory:

    templates => system => css

    The general approach to modify any features is as follows:

    First: Perform a Page Source
    This will give you a complete html markup of the page

    Second: From the page source, isolate the part where you find the feature what you want to change
    You will find all sorts of code

    <div class="name here"....>
    <span class="name here"..>

    or as part of html markups, like for an image specification


    <img class="name here: src="image partial or complete URL here" ......>

    The ones in bold, “name here” are the ones you are interested with. The layout specifications for any feature, will be defined by a css specification of the specific “name here” that envelops or is part of the feature you want. Usually they involve more than one CSS spefication, i.e., the “name here” in the example above.

    Third: Go to the template.css and find the appropriate CSS spefication, i.e., the “name here” in the example above.

    I always do this by opening the file via FTP

    make a tentative revision, e.g., delete a line. Save. Then, check the site. This may require you to clear the cache of your browser and refresh your browser (click reload icon).

    In regard your question: Vertical and horizontal lines are usually defined by solid borders that define whether it is a top, right, bottom or left border, the thickness, color of the border, etc.

    Basically, that’s how you can change any feature layout you want.

    Sometimes it gets tricky. For example, an image may have no CSS defining its attributes. However, it is defined by the CSs speficication named:

    img

    that is true also for other features, like general links

    a => from <a href=””> to define the spefications


    Why do you need to learn the above general procedure?

    Because there are literally hundreds or even thousands (for more complex CMS) of these spefications. The same questions are being asked over and over

    Just imagine if thousands of posts deal with CSS issues alone (which is the case with the number of templates). It is unlikely that Joomlart can afford to hire to answer every question.

    Cornelio

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

This topic contains 3 replies, has 3 voices, and was last updated by  cgc0202 16 years, 2 months ago.

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