V
V
Viktorovich20152015-02-14 16:40:00
css
Viktorovich2015, 2015-02-14 16:40:00

How to set the width "width" on the required Html element?

(Joomla)
The situation is as follows, you need to set the width "width" to the desired Html element:
1. Found the inspected element in the browser
HJfTsgWP.png
2. As you can see, the style is assigned directly to the HTML markup.
3. I decided to simplify and in the entire directory of the site I searched for the element through "notepad++"
HJfTsgWQ.png
4. As you can see, the search gave all the required values, but the "width" parameter in the "php" language is not the same as in the browser.
5. Question: "Is it possible to edit an element in the browser and save it directly to a directory?" Without poking around in "php" because I don't know this language at all.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ringil Endimion, 2015-02-14
@Viktorovich2015

Укажите размеры элемента в css добавив к ним свойство !important

.imageholder {
    width: 500px !important;
    height: 25px !important;
}

Или, если вы нашли место, где указываются размеры в шаблоне (второй скриншот) просто замените фрагменты <?php ... ?> на нужные вам размеры.

V
Viktorovich2015, 2015-02-15
@Viktorovich2015 Автор вопроса

Нашел в общем и "откуда появилось" и "php фрагменты" заменять не пришлось :) Про !important мысль понял, тут оказавыается даже в код лезть не надо! Все в панели управления Joomla. Там-же за каждую деталь отвечают модули:) Пока привыкнешь

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question