Editing discussion_list.css

sifuhall

Active member
I have an interesting issue that may be a bug.

I edit the template discussion_list.css and change this line under .discussionListItem
Code:
background-color: @contentBackground;

to
Code:
/* background-color: @contentBackground; */
background-color: #FFFAF0;

Then I click Save And Exit.

I re-open discussion_list.css and the change was not saved.
 
If you have multiple templates open in different tabs then this can sometimes occur.

Try just having one tab open and opening this single template, editing and saving.

I've moved the thread from bug reports to troubleshooting for now.
 
Thanks for the replies.

I am able to reproduce this.

I made a video screen capture of what I am seeing.

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
 
You're probably confusing the parser, as what you're actually editing is the primary content background in the entirety of XF (the primary content style property). The commented out CSS isn't expected there.

Add your background change outside of the @property areas in that CSS rule.
 
Some progress with that.

I added the change outside of the @property and then removed the background-color from inside the @property.

My addition outside of the @property was saved, however the original background-color inside the @property reappears and I'm not able to delete it.
 
Top Bottom