Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Default.Master.tpl, where can I access html.sticky-footer-html?
Skisma
New
I'm wondering where I can locate this file because I'm trying to make some minor modifications to the formatting of things on my forums. The default.master.tpl file doesn't have the complete information I need to access. I'm wanting to remove the "categories" row completely and bring up "discussions", "comments" and "latest post" into the h2 heading. The second thing I was going to ask about was how to remove the "child categories" text, but when inspecting further I found that...
.CategoryName b { display: none; }
...does the trick!
For my first issue though I don't believe it can be done with css. I would need to modify the markup.
0
Comments
If I understood, you want to remove the 'categories' text upper the categories row?
.CategoryName .Wrap { display: none; }
@Deprecatedz Actually no, that removes a bunch of important info. Yikes!
I've actually successfully removed what I need to with the code in my OP. What I'm wanting to do here is relocate .BigCount.CountDiscussions, .BigCount.CountComments and .BlockColumn.LatestPost to be in .H. Currently they are within the table row (tr) in a class called .CategoryName. I believe I need to modify html.sticky-footer-html, but I don't know where this is located.
Vanilla is made of php ... the sticky footer part has to do with the theme, I think that was mentioned before . That is not a Vanilla class.
There is no html file, if there is then it would be called file.html and not file.php
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
@vrijvlinder Last time it was mentioned that instead of looking for an html file, I needed to find default.master.tpl. However, this file only contains the main structure of the layout, not the details. These selectors are not in default.master.tpl. I understand you haven't mentioned that file in this thread, I'm just referring to our previous conversation where you did. Since these selectors aren't in the file I've made this thread to ask for help on where I need to locate these.
I've taken screenshots of my theme, as well as the default vanilla theme and the Bittersweet theme. In each one you'll see the markup is the same. There must be a file somewhere that I can access to modify this.
You have selected the classic or old type of view for the categories which is a table.
So work with that. I don't see a sticky footer in those screenshots so I don't even know what you want. Do you ? Maybe try to make a mock up of what you want to achieve.
You want to remove something and then change something else to be a header ?
You want to change the layout of a controller ? Look in the controller folder in the vanilla folder or find the most obvious class.categoriescontroller.php and see if you find what you are looking for. If not look at the other files until you find what you need.
There is no html, what you see in the source using an inspector is html generated/rendered by php.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
default.master.tpl is a like a frame for the head the content, the panel and the footer. That's the main thing you can do there.
If you like to change the content of any of those assets, you need a plugin (or use the themehooks file). If you simply like to hide something or want a different color, you should do this by styling.
You've said:
This can be achieved by styling (though I'm no fan of something like that)
Look at the class that the h2 heading has. What do you think happens if you apply that to the line that you wanted "to bring up"?
class H =>
=>
See? It looks like it is in the same element as you wanted it to be! But you didn't want to have the heading "Categories".
Now it is "gone"...
Still not happy because you now have the headings in two different rows. You are right. That looks awful.
Looking good now,but something happened to the background color of the tr element. So add
background-color: #484A4C;
to the "table.CategoryTable thead tr" selector.@R_J Thanks! I thought I needed to modify the markup for this, but I'm glad it can be done with styling. After adding this code everything looked good except for one little thing in the .CategoryName area. This is what it looked like:
I was able to fix it by adding:
Here it is now:
Again, thanks again for all your help!