Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Can I modify the CSS of the Hotel booking plugin in my theme?
- This topic has 2 replies, 2 voices, and was last updated 1 year, 10 months ago by Matthew Durrant.
- August 6, 2021 at 8:27 am #1167508Matthew DurrantParticipant
For example, in shortcodes/search/search-form.php, the following code is present:
<form method="GET" class="mphb_sc_search-form" action="<?php echo esc_attr( $action ); ?>"> <p class="mphb_sc_search-check-in-date">
p.mphb_sc_search-check-in-datein my theme’s style.css, should I copy shortcodes/search/search-form.php to my theme? Will these CSS names be changed in future updates of the Hotel booking plugin? Ideally, I don’t want to copy template files to my theme, is it recommended for the above scenario?
Thanks!August 11, 2021 at 3:26 am #1169193Andre FloresModerator
When it comes to CSS, there is no need to copy plugin template files to your theme, you may add CSS directly under Appearance ->Customize ->Additional CSS.
AndreAugust 11, 2021 at 3:44 am #1169197Matthew DurrantParticipant
Thanks for the reply, Andre.
So the names of css classes in the Hotel booking plugin, won’t change in future updates of the plugin? I can make modifications to the CSS in my style.css, without copying over template files?
- You must be logged in to reply to this topic.