There are no css and js when installing openX - openx

Console shows 2 errors: can't find variable $ and Can't find variable: initPage. Page looks like no one css and js included.
After installation (captcha not seen too) situation the same. Admin panel has no css and javascripts :(

OMG, it was AdBlock. Disable for using openx

Related

Add css & javascript file to All Pages of NetSuite

I need to add a css file or javascript to each of the NetSuite pages to make the page direction RTL.
I tried adding it through :
SuiteScript >> Client >> Deployment : All Records,
And already succeeded in adding them to some pages. But I need to add the code to all pages of the NetSuite.
NetSuite does not provide an option to add CSS/JS to every page. Only certain pages are scriptable as you have discovered.
You could use something like Tamerpermonkey to achieve this. However that would require installation on each end user's machine.

Github pages code blocks behave differently offline and online

The offline version is the one I'd like to get and it looks like this:
The online version however looks like this:
Also, this is the direct link to the blog so you can see the WRONG version.
As you can see, there is a dark gray box around the code block that I don't want to see. I've tried looking into the configuration files, but since I can see it properly offline, I don't know how to fix it.
I'm using jekyll 3.5.2.
This is the repository of the blog.
With a Gemfile containing :
source "https://rubygems.org"
gem 'github-pages'
I'm able to reproduce Github pages behavior.
You can resolve your problem by replacing, in _highlights.scss, the .highlight {... rule by a pre.highlight {... rule.

Custom theme doesn't load theme css file in Drupal 8

I'm making a new theme but have problems loading the css. Though I think it is correct to the documentation of Drupal it doesn't work.
I created a folder in /themes/custom/noadin and added the info and libraries files
noadin.info.yml :
name: noadin
description: 'My new theme'
type: theme
core: 8.x
libraries:
- noadin/global-styling
- noadin/global-scripts
and created a noadin.libraries.yml :
global-styling:
version: VERSION
css:
theme:
css/style.css: {}
global-scripts:
version: VERSION
js:
js/script.js: {}
The stylesheet is placed at /themes/custom/noadin/css
Can anyone tell me what it is that I am misunderstanding?
p.s. Drupal is taking the correct theme.
Your info.yml and libraries.yml looking fine, I think may be becouse of caching it is not loading the css and js file try after clearing the cache. (login to your admin area configuration->Development->Performance->Clear all caches) Try after this
You can try look in to this working sample (http://wiki.workassis.com/drupal-8-custom-theme-from-scratch/) this helped me.
Please make sure you have unchecked the following option from -
Home > Administration > Configuration > Development
Aggregate CSS files -- Uncheck and Save Configuration
#Koustav answer helped me a lot. I did changed the drupal/sites/default/files to proper owner since the "Bandwidth optimization menu was disabled and then went to
Home > Administration > Configuration > Development
and unchecked the Aggregate CSS files
Now it's working like a charm!
I was facing the same issue but resolved by doing the below steps.
Goto admin/config/development/performance
uncheck the Aggregate CSS files
uncheck Aggregate JavaScript files
Thanks!!!!!!!

Where could be inline-css in Wordpress

I am working on this webpage:http://hypoinvest.sk/ which runs on Wordpress with this theme If you check source code you can see a lot of inline-css and I want to know in which files are actually defined. Only thing what I know about it they are called by function wp_head() in header.php. I have local copy of all files on this web and I can't find any mention about some of that css rules through unix grep. Anyone suspect where these css rules could be located?
check site and let me know.
Run a search in the source code for
style-inline
As this appears to be the 'handle' designated as the first variable in the function wp_add_inline_style. The "-css" is added automatically. You'll see this on line 79 of the page source.
https://codex.wordpress.org/Function_Reference/wp_add_inline_style
You want to check your page back-end site where you put content ,
I think are you using any compose or editor to create page on edit page.
check it edit option it has some inline css.

Sourcemap in DevTools : change styles without losing the link to the SASS/Less file?

When I use sourcemap with DevTools for CSS, is it possible to change styles without losing the link to the preprocessing file?
More explanation
Step 1 : I inspect an element, I see its style and I can see a link "global.scss", perfect.
Step 2 : I change a style (like a pixel under), and I lose my "global.scss" link, now is "global.css" and I need to reload my page!
No, that is not possible, see https://developer.chrome.com/devtools/docs/css-preprocessors:
Changes made in an external editor are not detected by DevTools until the Sources tab containing the associated source file regains focus. Also, manual editing of a CSS file generated by the Sass/LESS/other compiler will break the source map association until the page is reloaded
This is an issue reported on chromium bug tracker, there you can follow the progress https://code.google.com/p/chromium/issues/detail?id=257778#makechanges
EDIT 1
Finally this issue is currently resolved in Chrome Canary :-)
Link to confirmation: https://code.google.com/p/chromium/issues/detail?id=257778#c61
EDIT 2
Source map finally landed in Chrome

Resources