adding css to registration block

  • Posts: 507
  • Thank you received: 21
  • Hikashop Business
1 year 5 months ago #352543

-- HikaShop version -- : 4.7.3
-- Joomla version -- : 4.3.2
-- PHP version -- : 8.1

Hi,

I'm trying to add some css to the registration block on the checkoutpage (see screenshot). But I can't find out where to put the code. it looks like the view to edit is show_block_login, but I don't see the code for the label "data_register_registration_methodlogin". Could you help me out here?

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 5 months ago #352547

Hi,

The HTML code for that area is output by this line of code:

echo JHTML::_('hikaselect.radiolist', $values, 'data[register][registration_method]', ' onchange="displayRegistration(this)"', 'value', 'text', $this->options['default_registration_view'], false, false, true);

But if you want to add CSS for these elements, you don't need to modify the view file.
You can add your CSS to the frontend CSS of HikaShop:
www.hikashop.com/support/documentation/1...ize-the-display.html
For example:
label[for="data_register_registration_methodlogin"]{ color : red !important; }

The following user(s) said Thank You: michelpouli

Please Log in or Create an account to join the conversation.

  • Posts: 507
  • Thank you received: 21
  • Hikashop Business
1 year 5 months ago #352551

Ah, yes. Thanks!

Please Log in or Create an account to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum