Custom CSS: Difference between revisions

Jump to navigation Jump to search
Andrian (talk | contribs)
Andrian (talk | contribs)
Line 132: Line 132:
=== Hide currencies from the currency selector (responsive Booking Page only) ===
=== Hide currencies from the currency selector (responsive Booking Page only) ===


The currency class format is: '''.cur-XXX'''. '''.cur''' is the name of the class and '''XXX''' represents a country code. '''CAD''' = Canadian Dollars, '''GBP''' = British Pounds and so on.
The currency class format is: '''.cur-XXX'''. '''cur-''' is the name of the class and '''XXX''' represents a country code. '''CAD''' = Canadian Dollars, '''GBP''' = British Pounds and so on.
The country codes are:
The country codes are:
  AUD, CAD, EUR, GBP, NZD, USD, BGN, BRL, CHF, CNY, CZK, DKK, HKD, HRK, HUF, HUF, IDR, INR, JPY, KRW, MXN, MYR, NOK, PHP, PLN, RON, RUB, SEK, SGD, THB, TRY, ZAR
  AUD, CAD, EUR, GBP, NZD, USD, BGN, BRL, CHF, CNY, CZK, DKK, HKD, HRK, HUF, HUF, IDR, INR, JPY, KRW, MXN, MYR, NOK, PHP, PLN, RON, RUB, SEK, SGD, THB, TRY, ZAR


This code will remove all currencies except for:  
This code will remove all currencies except for:  
  .cur-AUD, .cur-CAD, .cur-EUR, .cur-GBP, .cur-NZD,.cur-USD, .cur-BGN, .cur-BRL, .cur-CHF, .cur-CNY,.cur-CZK, .cur-DKK,.cur-HKD, .cur-HRK, .cur-HUF,.cur=HUF, .cur-IDR,.cur-INR, .cur-JPY, .cur-KRW, .cur-MXN, .cur-MYR, .cur-NOK, .cur-PHP, .cur-PLN, .cur-RON, .cur-RUB, .cur-SEK, .cur-SGD, .cur-THB, .cur-TRY, .cur-ZAR{display: none;}
  .cur-AUD,.cur-CAD,.cur-EUR,.cur-GBP,.cur-NZD,.cur-USD,.cur-BGN,.cur-BRL,.cur-CHF,.cur-CNY,.cur-CZK,.cur-DKK,.cur-HKD,.cur-HRK,.cur-HUF,.cur-HUF,.cur-IDR,.cur-INR,.cur-JPY,.cur-KRW,.cur-MXN,.cur-MYR,.cur-NOK,.cur-PHP,.cur-PLN,.cur-RON,.cur-RUB,.cur-SEK,.cur-SGD,.cur-THB,.cur-TRY,.cur-ZAR{display: none;}


will remove all currencies. Remove the currencies you want to show from the code.
will remove all currencies. Remove the currencies you want to show from the code.