Code Monkey home page Code Monkey logo

anatta's People

Contributors

rahmon avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

anatta's Issues

can't center align images by default due to wordpress + awsm.css limitations

The css you're using for this pretty great theme (awsm.css) automatically flushes images to the right when inside <p> elements, which is a nice option except that wordpress automatically wraps <img> elements in posts inside <p> tags thus making the aligned-right style the only way to have images in a post, rather than aligned to center as explained here.

There are currently no feasible workarounds for non-tech savvy users.

I guess the easiest fix would be adding something to the functions.php file to either remove the <p> tags from images or add a <div> around them instead.

Widgets area to the right of the screen

Hello. I need widgets area to the right of the screen.

I create child theme and adding this code to the funstions.php:

function register_my_widgets(){
	register_sidebar( array(
		'name' => "Правая боковая панель сайта",
		'id' => 'right-sidebar',
		'description' => 'Эти виджеты будут показаны с правой колонке сайта',
		'before_widget' => '',
		'after_widget'  => '',
		'before_title' => '<h2>',
		'after_title' => '</h2>'
	) );
}
add_action( 'widgets_init', 'register_my_widgets' );

Widgets added, but on the bottom of the page. How can I add they to the right of the page?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.