5
votes
Accepted
CSS/HTML problem on Joomla config page (3.6.1 and 3.6.5)
You might want to use Admin Tools or RSFirewall to do a malware scan. There are known cases where certain malware can cause this problem: https://forum.joomla.org/viewtopic.php?f=706&t=902880
5
votes
CSS Change won't apply - Where could the cache be?
Do you reach directly to the updated css file through your browser and you see the old css?
Or you just don't see the changes taking effect
on your site?
Some suggestions for both scenarios:
A. Do ...
5
votes
Accepted
How to add custom JS/CSS file, without modifying the template (from extension)?
Here is the documentation:
https://docs.joomla.org/J3.x:Adding_JavaScript_and_CSS_to_the_page
If you wish to add different css and js to the front and back of the site then you should use a system ...
5
votes
Accepted
Can I delay loading a css file until a user is logged in?
Very interesting and good question in my opinion.
For this task I would use the 'joomla_user_state' cookie which is available from your template index.php file. (otherwise you can do this form a ...
4
votes
How to make a menu item (menu link) invisible in a footer menu?
Login to your website administration site
Go to Menus -> Your menus which has this menu item
Click on the Unpublish button of the desired menu item
If you do not want to unpublish and just want to ...
4
votes
Accepted
Page titles overrun screen size in mobile view - sustainable solution?
The following would cause the word to wrap.
h1.article-title {
word-wrap: break-word;
}
However, you'd probably be best just changing the font size at that breakpoint - this would keep it more ...
4
votes
Accepted
How to force cache/browser data clearing in browser?
I have faced the very same problem many, many times. In the meantime I have learned that one can force browser to clear its cache only by versioning assets loading. So you need to find where your ...
4
votes
How to force cache/browser data clearing in browser?
You can use mediaVersion. There are a few ways to do that.
Look into those 2:
Manually adding version to loaded files:
$v = JFactory::getDocument()->getMediaVersion()
JHtml versioning of loaded ...
4
votes
Accepted
Problem with centre aligning a module and its content
You have a cache on, so I can't point you to the exact place in the code, but basically the outside of the module has the following css at a breakpoint between 320 and 667px:
#search .module-inner {
...
4
votes
How do I find / write a css class that has a space in the beginning?
CSS classes and IDs never start with spaces, and they also never have spaces in the middle of it as well.
As Sharky commented, an element can have multiple classes, and those classes must be ...
4
votes
Getting CSS style to vary with different module instances
I figured out my problems, so I thought I would answer my own question.
1) Different styling for different instances of the same module
Don't forget Joomla has unique module ids! And there's an ...
3
votes
CSS/HTML problem on Joomla config page (3.6.1 and 3.6.5)
I bet there is a fatal error somewhere, which prevents the complete execution and results to see an incomplete rendered page and the essential css/js files missing.
Enable error reporting and likely ...
3
votes
Accepted
CSS Change won't apply - Where could the cache be?
Some really cheap and oversold hosts tend to cache asset files (images, JS files, CSS files) for a long time. Check in a few hours to see if the file was updated.
If not, and assuming you cleared ...
3
votes
How Templates work and load css/js files? Website building process with Purity III
Your question consists of two questions, which both are too broad to be explained in details here, plus it seems there is a big gap of knowledge you have to cover.
1. What does happen if i call ...
3
votes
How to move down background image?
You can use a tool like Firebug or similar for inspect your source code of your site in your browser.
A tool like this will give you information about the selectors and the path where they are ...
3
votes
Accepted
UPDATED: Prevent font color from changing when hovering over child menu item
The hover colour appears to be set when you hover over the <span> that contains your title, but your sub-menu is not part of this tag.
A simplified version of your menu item is as follows...
&...
3
votes
Accepted
Joomla 4 - Cassiopeia add JS and CSS
The old method to add stylesheets and scripts to the doc head was to use the HTMLHelper. An good explanation how to use that: https://rolandd.com/blog/joomla/adding-stylesheets-scripts-and-images
...
2
votes
Accepted
Text got all messed up (misaligned) in the footer
Very simple:
in file /templates/jp-x2/css/custom.css
add following selector:
.bottom-d-outer p {
margin: 0 0 9px;
}
2
votes
Accepted
Text got all messed up (misaligned) in an article
I have no idea why, but your template has the following code:
p, hr, dl, blockquote, pre, fieldset, figure {
margin: -15px 0;
}
In this file:
https://kotkovski.com/templates/jp-x2/warp/css/...
2
votes
Style a custom HTML module
You don't have to add separate CSS file. You can just style-up new selectors you want, or use some existing in main template.css or custom.css, whichever you are using, and reference them in Custom ...
2
votes
Styling the default tooltip in joomla 3.6.X
Firstly, if your template has a custom.css file, open it, else create this file in your template's CSS directory.
The following code you'll need to edit the base styling of the tooltip is here:
....
2
votes
Empty space before doctype in custom joomla template
My first guess would be a plugin or module that isn't properly written. If they contain whitespace or newlines outside of a <?php ... ?> tag it may leak into the template.
Since the issue isn't ...
2
votes
Accepted
Where to call for CSS/JS in custom component for frontend views
I'd suggest placing it in your view file:
components/com_mycomponent/views/VIEW_NAME/tmpl/default.php
This means that is anyone wishes to override your component views, they can, for example, ...
2
votes
best way to add third party js and css
Personally, I'd much rather deliver CSS and JS files via a CDN than using something like JCH optimise to combine them all into 1 file. With HTTP/2, files are delivered much quicker, so a couple more ...
2
votes
Template Modal Conflict
Well the only solution / workaround I have found so far is to assign a different template when editing modules via the front end.
Thanks to Regular Labs Advanced Template Manager I was able to use ...
2
votes
CSS/HTML problem on Joomla config page (3.6.1 and 3.6.5)
Got the same error in Joomla!
System top bar disappeared while in Admin->Global Configuration (com_config).
PHP error can only be seen in title (quite useless): "Error: 0 Function name must be ...
2
votes
Accepted
Footer position overlapping content - definitive way to ensure it is always below?
The issue comes from the .clr class that you have set on an element near the bottom of the content. This class is setting the element to a height of 0, thus the footer is being pushed up.
Remove this ...
2
votes
Accepted
Module displaying outside of container
The problem is not the blue module. It is the photo. With FF its calculated height is 175px according to the 100% specified for its height:
<img src="/wimeta/images/factory.jpg" style="height:100%;...
2
votes
Remove white space when using display:none on elements in print.css
Your print view is working fine but you need to revise your content to remove extraneous <p> </p> and <h4> </h4> blocks.
Instead of this format for each speaker:
<h4>
...
2
votes
Override Global CSS within Article
There are a lot of resources in this site about overriding CSS.
Depending on your template and overall site/page configuration, you might be able to just do this by using a unique css selector that ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
css × 223joomla-3.x × 102
templates × 43
javascript × 22
php × 16
joomla-4.x × 16
jhtml × 13
bootstrap × 12
module × 11
overrides × 10
menu × 10
articles × 9
template-override × 8
custom-module × 8
joomla-2.5 × 7
joomla-3.5 × 7
layout × 7
joomla-3.4 × 6
module-display × 6
fix-my-code × 5
component × 4
cache × 4
images × 4
helix3 × 4
styling × 4