1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[Available via Style Properties] change background color of DELETE NOTICE

Discussion in 'Closed Suggestions' started by swatme, Mar 9, 2011.

  1. swatme

    swatme Well-Known Member

    when you delete the first post "unnoticeably"
    you will have notice below color blue background
    Note: This is the first post in the thread. Deleting it will delete the whole thread.

    i suggest to have the background color change to more ATTRACTIVE color
    or even just the text color maybe red.

    to avoid accidental deletion of whole thread.

    thinking that you selected the secondpost and youve unnoticed the
    important note, bam whole thread deleted because the notice
    is "unnoticeable" :)
  2. Brogan

    Brogan XenForo Moderator Staff Member

    The colours are taken from the color palette.

    You can change this yourself by changing it in Style Properties -> Form-Type Overlays: Sub-Heading

    Or by editing xenforo_overlay.css
    .xenOverlay .formOverlay .subHeading {
    @property "formOverlaySubHeading";
    font-size: 11px;
    color: @primaryLightest;
    background-color: @primaryMedium;
    padding: 5px 10px;
    margin-bottom: 10px;
    border: 1px solid @primaryDark;
    border-radius: 3px;
    @property "/formOverlaySubHeading"; }
    Or by adding some code to EXTRA.css for this class: .xenOverlay .formOverlay .subHeading
  3. swatme

    swatme Well-Known Member

    is there such thing as TEMPLATE MAPPING
    where it shows which specific file this section of the style is?

    the hard part is identifying whats the name of that part in the template :)
    so a mapping with the name of that part will help :)
  4. Nasr

    Nasr Well-Known Member

  5. Brogan

    Brogan XenForo Moderator Staff Member

    If you view the page source or use Firebug, the content class will identify the main template:


    For a thread it's the thread_view template.

    From there you can see all associated templates in the ACP.

    The @property "formOverlaySubHeading" relates directly to the Style Property.
    If you mouse over each one, the class name will pop up in a tooltip.


    This may be of some help: http://xenforo.com/help/styling/

Share This Page