Announcement

Collapse
No announcement yet.

css specific for each thread's upper title

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    css specific for each thread's upper title

    Hello,

    I want to change font and background color plus adding background image to the top title at each thread through CSS

    What happens is that all modules titles are affected !! as in the screenshot

    What is the specific class for thread title only? and its box or container?

    Thanx

    =====================================

    Here what i tried - p.s: I am very newbie still learning : ))
    /* upper topic title inside the post - START */

    .main-title {
    color: #ffffff !important;
    font: bold 28px 'Sakkal Majalla',Majalla2;
    text-transform: none;
    text-align: center !important;
    border: 1px solid black !important;
    background:#075d82 !important;
    line-height: 1.7;
    background-image:
    linear-gradient(to right bottom,
    rgba(76, 216, 255, 0.8),
    rgba(30, 108, 217, 0.8)),
    url('https://www.hurras.org/new/images/custom_hurras/pexels-photo-213399.jpeg')!important;
    background-size: cover !important;
    background-position: top;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 75vh, 0 100%)!important;
    }



    Click image for larger version

Name:	image.png
Views:	433
Size:	741.0 KB
ID:	17986

    #2
    Replace:
    Code:
    .main-title
    with
    Code:
    #widget_XX .main-title
    where XX is the widget id of the thread title. Right click and inspect the thread title and find its <div> container with id="widget_XX". Replace XX with the corresponding id.
    Helpful? Donate. Thanks!
    Buy me a coffeePayPal QR Code
    Fast VPS Host for vBulletin:
    A2 Hosting & IONOS

    Comment


      #3
      enjoy your coffee

      Comment


      • glennrocksvb
        glennrocksvb commented
        Editing a comment
        That looks good! Thank you

      #4
      Hello Glenn,

      Please how can i make the color white in forum titles??

      I tried all class in the inspect tools, nothing working!

      I made academic reasearch,invented css, notthing worked : ))))

      /*=============================================
      Forum Category -START*/
      .forum-list-container .category-header {
      background:#033145 !important;
      font color: #ffffff !important;
      color: rgb(255, 255, 255);
      font: bold 18pt 'Sakkal Majalla',Majalla2 !important;
      border: 2px solid #ffffff !important;
      line-height: 1.7;
      height: 33px;
      }

      .l-small .forum-list-container .category-header .category {
      font: bold 14pt 'Sakkal Majalla',Majalla2;
      color: rgb(255, 255, 255);
      font color: #ffffff !important;
      }

      #category-header
      .category {
      color: rgb(255, 255, 255)!important;
      font: bold 28pt 'Sakkal Majalla',Majalla2 !important;
      }


      element.style {
      color: #edf1fc;
      }
      .category .data-nodeid="14" {
      color: rgb(255, 255, 255)!important;
      font: bold 28pt 'Sakkal Majalla',Majalla2 !important;
      }
      /*Forum Category -END*/


      Click image for larger version

Name:	image.png
Views:	135
Size:	360.0 KB
ID:	18009

      Comment


        #5
        glennrocksvb

        Comment


          #6
          Originally posted by Blackhorse View Post
          font color: #ffffff !important;
          Styling color of font should just use "color" not "font color" CSS property.
          Helpful? Donate. Thanks!
          Buy me a coffeePayPal QR Code
          Fast VPS Host for vBulletin:
          A2 Hosting & IONOS

          Comment


            #7
            I had to put the name in between white font html code in admincp at channel manager to change the color .. it is impossible through additional css !!

            Comment


              #8
              It is possible via additional css. I already mentioned how to do it in post #6.
              Helpful? Donate. Thanks!
              Buy me a coffeePayPal QR Code
              Fast VPS Host for vBulletin:
              A2 Hosting & IONOS

              Comment

              Users Viewing This Page

              Collapse

              There is 1 user viewing this forum topic.

              • Guest Guest

              Latest Posts

              Collapse

              Working...
              X
              Searching...Please wait.
              An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

              Please push the back button and reload the previous window.'
              An unexpected error was returned: 'Your submission could not be processed because the token has expired.

              Please push the back button and reload the previous window.'
              An internal error has occurred and the module cannot be displayed.
              There are no results that meet this criteria.
              Search Result for "|||"