XF 1.2 Template Editing

Amaury

Well-known member
Why is it that if a make a template edit somewhere to change, say, text color from red to blue, a yellow border I have on the sub-heading, which is set via the Sub-Heading style property, changes to transparent?

In order to fix it, I have to revert the style property and re-apply my changes.
 
If you edit a style property via the templates you actually edit the style property.

I don't think I'm editing a style property in the template, though. Here's a video (watch in full screen and 1080p):

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
 
Possibly due to declaring only a color for ALL, and no style/width for ALL. Editing the CSS is probably correcting it automatically. Try putting in a value for the ALL width/style and doing the same steps.
 
Possibly due to declaring only a color for ALL, and no style/width for ALL. Editing the CSS is probably correcting it automatically. Try putting in a value for the ALL width/style and doing the same steps.

I don't think that's the problem, because it messes with the Item Page Nav Link, Hover State style property as well. However, by XenForo default, the border is "All" without any style and width.
 
Read my post again. That's the default for Sub-Heading, but check Item Page Nav Link, Hover State.

Well I just tried on the default style and it works accordingly, I'd suggest(back up your style first) revert the subheading property, then go and try to edit the same value you did in the video, see if you can replicate it.
 
@Russ, you were right. It had to do with the blank Style and Width fields. When I made my Christmas Day style yesterday, I set the top and bottom borders for Sub-Heading to transparent and removed their style and width and then put a color in the all border box and gave it a style and width; when I made the template edits, the Sub-Heading style property was unaffected.

In which case, I'm not sure why the hover border for the pagination on the discussion list doesn't have style and width by default.
 
Back
Top Bottom