The Big Spring Sale! Up to 50% off!

Custom HTML and its styling

michal84
143 Posts
michal84 posted this 31 December 2019
Wishlist

Hello team,
when I use custom HTML, because of some requirements, that are not yet available to use in NicePage, would it be possible to select whole custom HTML item and select from right panel if its text colour would be light-text or dark-text?
Because of background colour and automatic text colour switching, it would help me a lot, to save a time to fine-tune a code manualy.

In this case, I mean for example a stroke text, that is possible to insert only by manual HTML code.

Thanks,
Michal

Hello team, when I use custom HTML, because of some requirements, that are not yet available to use in NicePage, would it be possible to select whole custom HTML item and select from right panel if its text colour would be light-text or dark-text? Because of background colour and automatic text colour switching, it would help me a lot, to save a time to fine-tune a code manualy. In this case, I mean for example a stroke text, that is possible to insert only by manual HTML code. Thanks, Michal
Vote to pay developers attention to this features or issue.
3 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 31 December 2019

Hi Michal,

Unfortunately, Nicepge does not offer style settings for the content inside HTML control. But you can set desired colors manually via custom CSS.

...................................................
Sincerely,
Olivia
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Michal, Unfortunately, Nicepge does not offer style settings for the content inside HTML control. But you can set desired colors manually via custom CSS. ................................................... Sincerely, Olivia Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
michal84
143 Posts
michal84 posted this 31 December 2019

Hello Olivia,
OK, I will create a CSS class into my theme, to apply for the custom HTML.
Thanks for Your response.
Michal

Hello Olivia, OK, I will create a CSS class into my theme, to apply for the custom HTML. Thanks for Your response. Michal
michal84
143 Posts
michal84 posted this 04 January 2020

I was experiencing the same issue also in footer, where I wanted to have updated current year (shown by JS script). Therefore I just created a powershell script, that simply evaluates the content of specified files (pattern), and replaces the given value by another, that contains that script.
In the same Powershell script, I also replaced the placeholder "Search" to "Hledat" in header.php. All styling was kept, and the contents is changed as I wanted.
Only additional steps required are, to extract the new PHP files to a folder on my disk (into the same path, that is specified in the PowerShell script), running the PowerShell script and then, to add the files back to the zipped template.
Once done, I can update the template in Joomla!.

I was experiencing the same issue also in footer, where I wanted to have updated current year (shown by JS script). Therefore I just created a powershell script, that simply evaluates the content of specified files (pattern), and replaces the given value by another, that contains that script. In the same Powershell script, I also replaced the placeholder "Search" to "Hledat" in header.php. All styling was kept, and the contents is changed as I wanted. Only additional steps required are, to extract the new PHP files to a folder on my disk (into the same path, that is specified in the PowerShell script), running the PowerShell script and then, to add the files back to the zipped template. Once done, I can update the template in Joomla!.
You must log in or register to leave comments