SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Zealot
    Join Date
    Apr 2003
    Location
    Perth W.A.
    Posts
    131
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Editing inline CSS in Joomla Template

    Can anyone help with finding where I would edit an inline styled div?

    I can see the inline style rule in the source code and in Firebug and I understand this is generated HTML, but how do I get to the actual source code to edit this?

    Div in question encloses the following text:

    Tony Leahy +61 412 ### ### or Stacey Farquharson +61 423 ### ###
    on the following page:

    http://www.landfillgas.com.au/contac...enquiries.html

    Any help appreciated.
    Last edited by Mittineague; May 1, 2012 at 15:22. Reason: Please keep personal info private

  2. #2
    Who turned the lights out !! Mandes's Avatar
    Join Date
    May 2005
    Location
    S.W. France
    Posts
    2,496
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hard to tell when you only give us the live site as we can only see the source as you do, starting place would be to look in

    retail-office-retail-sales-enquiries.html

    the inline style is
    style="float: left; width: 220px;"

    and that looks about right so I suspect that style is perhaps in the source code, if it is generated on the fly it should give you a the start of the trail.
    A Little Knowledge Is A Very Dangerous Thing.......
    That Makes Me A Lethal Weapon !!!!!!!!

    Contract PHP Programming

  3. #3
    SitePoint Zealot
    Join Date
    Apr 2003
    Location
    Perth W.A.
    Posts
    131
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, this style: style="float: left; width: 220px;" IS in the source code, however I suspect it is generated on the fly.
    starting place would be to look in retail-office-retail-sales-enquiries.html
    The above file reference is also generated by SEF Url mode. This is actually NOT an authored article in the back end. The values are pulled from Components > Contacts.

    In FireBug I can find the style that controls this div:
    element.style {
    float: left;
    width: 220px;
    }
    Any idea how element.style relates/ or is applied?

  4. #4
    Who turned the lights out !! Mandes's Avatar
    Join Date
    May 2005
    Location
    S.W. France
    Posts
    2,496
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    This is why I dont use templates or frameworks for any of my projects, yes its takes a while longer to code but at least I know each line and what it does.

    Sorry without sifting through the code I wouldnt know, maybe someone that uses Joomla can step in, good luck
    A Little Knowledge Is A Very Dangerous Thing.......
    That Makes Me A Lethal Weapon !!!!!!!!

    Contract PHP Programming

  5. #5
    SitePoint Member
    Join Date
    May 2012
    Location
    UK
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For that you find the class or id and customize that class or id with the css and at the end of every you must "!important" before semicolon.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •