OhLongJohnJohnson
OhLongJohnJohnson

Reputation: 181

Modify joomla "submit article" page code-behind

On my Joomla site I have added a template, but it has messed up the "submit an article" page, by setting the fields in the publishing tab to width: 0px;. The html for the category dropdown looks like:

<div id="jform_catid_chzn" class="chzn-container chzn-container-single" style="width: 0px;"><a href="javascript:void(0)" class="chzn-single" tabindex="-1"><span>- Timesedler</span><div><b></b></div></a><div class="chzn-drop" style="display: none; width: 0px;"

This is pretty easy to fix by simply removing the width: 0px; but my problem is that I can't locate the file I need to alter, to make changes to the submit article page.

How do I locate the file?

EDIT

The CSS is working perfectly fine, but the style-tag in the HTML is the one i need to remove. So to sum up: I need to locate the file that makes up the HTML-code in the "Submit an Article" page.

Upvotes: 0

Views: 233

Answers (1)

jonasfh
jonasfh

Reputation: 4509

Right-click (or ctrl-click on a mac) and use the Inspect element functionality in your web browser to see what css affects an element in your code, and in which file it is located. If you are using internet explorer (god forbid) there are some developer tools available in the menus.

Upvotes: 1

Related Questions