I am currently working on a custom theme for a phpBB forum.
I installed phpBB on a local web server with Wamp and all my files are there and the website is working correctly.
The problem is that I cannot edit the style with Notepad++ and then just saving, the changes are not showing up when I look in my browser even if I press F12 and look at the CSS code. The code never changes.
The only way I found is to go edit the style through the admin panel (Styles -> Theme -> Edit).
Am I doing it wrong with Notepad++? Is there something special I have to do so I don't have to edit it from the admin panel?
Themes in phpBB have to be imported and applied whenever you want to use them. Assuming you are updating and saving the files that are actually being used, then you'll need to go into phpBB Administrator Control Panel.
Once there, navigate to the Styles tab, and click Refresh for the Template or Theme of the style you have been editing. This will clear the styles from the cache of the board and should allow your new styles to be applied.
Related
How to add custom WordPress theme in WordPress theme using PHP, CSS, HTML...I tried
C:\Users\megha\Downloads\wordpress-5.8.zip\wordpress\wp-content\themes in this way to show theme but nothing happen ..then how to insert theme in wordpress
[Installing WordPress themes and plugins][1] is very simple. All you have to do is go to the WordPress dashboard, there you will have the menu on the left. Select plugins/themes.
You can also search the directory, and apply filters to find a theme or plugin that best suits your needs. Click on install, then click activate, and voila! It’s done, my friend. You have successfully manually installed a theme/plugin on your website!
To use full-site editing, hover your cursor on Appearance, and in the menu select Editor. Voila! You can now edit your homepage, and create a design you want. For those looking forward to design ideas or ready-made blocks, check out WordPress Patterns.
Most importantly, there is no restriction on the number of plugins you can use (unless you have managed hosting, as most do not allow some plugins, especially those that clash with their platform’s codes. Read more here: managed vs self-hosting).
So, you can pick any number of plugins you want, and don’t worry about how to customize WordPress plugins or how to update WordPress plugins. It’s very simple and happens at the click of a button. We’ll be coming up with more guides, clearing any remaining whiff of doubt you might have.
I have a drupal 8 installation with adaptive theme installed.
I have used this to generate my own theme (peterstheme)
This allows for custom css.
I have an issue in that I can now not update my custom css.
When in Drupal I go to
Home -> Administration -> Appearance -> Appearance settings
to the custom CSS tab I can see the contents of the custom-css.css file
Here it says
Styles entered here are saved to themes/exceed/styles/css/generated/custom-css.css.
When I save any changes it does not save them and definitely not to that file.
When I go to the drupal/themes/exceed/styles/css/generated/custom-css.css
and edit it directly the changes do not reflect in the drupal custom css.
I have flushed all the caches in drupal, cleared browser caches etc.
I have Configuration -> Performance. Set page cache to no-caching.
I have made sure that the permissions on the custom-css.css have (User ,Group,World read and write) or (666)
I cannot find any other custom-css.css file.
I must be missing something.
I do not want to rebuild a whole new theme how can I update this?
Thanks in advance.
Peter
You need to add the css file path in ThemeName.libraries.yml file under css section.
I try to modify a theme in WP and I just noticed that modifying a template part doesn't do anything. How is that possible? Tried on different browser to check if its cached and its not, how do I modify a theme part?
I'm using Academia Theme with LearnPress Plugin. I've made a Child theme and I'm trying to modify a file that is a theme part called content-course_list.php which is exactly the html that appears in the segment I want to modify. I just try to change a simple text that is "Read more". I found it, changed it and it doesn't update. I even put it in the child theme folder to make sure it gets it from there and nothing..
I don't use any cache plugins and the host is local (xampp).
It seems the theme has a "core" plugin (academia-core) as well, where its using some shortcode templates for parts of the website. I managed to find the text by its css class (found with chrome inspect in the page) while I searched in all the php files from theme and plugins. I hope this answer helps someone in the future.
I am running on the latest version of wordpress.
I am clicking on edit page of a Home Page, however, wordpress is not allowing me to edit the page.
also when clicking on edit post, the font is white on the visual editor and this is very frustrating.
So kindly please help.
Step to perform
Deactivate all plugins. Yes... ALL plugins.
Switch to the default 2014 theme.
Manually empty and refresh your browser cache.
Only after you perform all three steps.. will you see the content editor load properly.
Why need to do this step
You have to deactivate all plugins to rule out possible interference from a plugin.
You have to switch to the default theme because... well... we know it works.
You have to manually empty your browser cache because the tinymce editor is notorious for holding onto and serving cached files from the server.
Now, after your editor is working properly again... reactivate your theme.
If it continues working... it's not your theme. Begin reactivating plugins (one at a time) going back to check the editor.
You will eventually find the faulty plugin (or theme) that is preventing the editor from displaying properly.
"Edit Page" - all of the text in the edit box is in white font
Try adding define('CONCATENATE_SCRIPTS', false ); to the bottom of your wp-config.php file (just before the require_once line).
I'm really pissed off with myself right now.
There's this theme on wordpress, Reddle, which I used as template to create a blog.
I edited the header.php, footer.php, CSS etc.
Then I saw on wordpress interface there was a new update for Reddle and I automatically did it. Boom, lost all of my custom and the theme practically reseted.
Luckily I was with style.css opened, so I could save it. But my mark up is all gone. So this CSS became useless.
Is there a way I can get it back?
I was trying to search on my firefox/chrome history to find the "old" version of the blog, but I can't find. Is there a way I can find it in my computer? Like in a temporary internet files or something.
Or revive this old page using firefox history?
I know that in the place I work, the browsers save history, so is there a way to open a "saved page" instead of reloading?
The best of approach in wordpress to add your custom markup or theme, is to make it child of any of the theme. And now if you update your existing theme then there will be no effect on your child theme only parent theme will be updated and you will be using that as parent so practically there will be no effect on it.