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 3 years, 3 months ago by Natasha Alton.
- AuthorPosts
- August 6, 2021 at 8:27 am #1167508Natasha AltonParticipant
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">
To use
.mphb_sc_search-form
orp.mphb_sc_search-check-in-date
in 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 FloresModeratorHello Matthew,
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.
Regards,
AndreAugust 11, 2021 at 3:44 am #1169197Natasha AltonParticipantThanks 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?
- AuthorPosts
- You must be logged in to reply to this topic.