Announcement

Collapse
No announcement yet.

Is there a way...?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is there a way...?

    Hey,

    I have edited a lot of templates on my forum and i was wondering since i've altered the navbar the colour border has to be entered manually, with this code ...

    style="border-top: 1px solid #0B1515; border-bottom: 1px solid #0B1515"

    how can I change this so I get the lines in the right place but I don't have to enter the individual colour each time?

  • #2
    You could add a css class to the Additional CSS Definitions and reference that class.

    If you need further help, please post a screenshot, as that makes it a bit easier to follow.
    Best Regards
    Colin Frei

    Please don't contact me per PM.

    Comment


    • #3
      How would I go about adding additional CSS, in the box at the bottom of main css, but what sort of code would I add?

      Comment


      • #4
        In the box at the bottom of Main CSS, add:
        Code:
        .myborder { border-top: 1px solid #0B1515; border-bottom: 1px solid #0B1515 }
        Then, instead of the style="border-top: 1px solid #0B1515; border-bottom: 1px solid #0B1515" you're adding everywhere now, add
        class="myborder"
        Best Regards
        Colin Frei

        Please don't contact me per PM.

        Comment

        Loading...
        Working...
        X