Where did I put this one line of css? [closed] - css

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 days ago.
Improve this question
So I'm a bit lost. There are so many places to tuck away custom css between the WordPress customizer and Elementor Pro, and I added some css to style a couple little recurring anchor tags in a file sharing list, but now I can't remember where I put it and can't find it. I have looked in every place I can think of.
I know now that I can put all of my additional css in the theme file (I created a child theme for that reason) but that doesn't help me now to find that one darn line of code to edit it.
I did use the page source and found the css I added but where is the source file located so I can edit it?
I am completely self taught through various resources and prerecorded classes online so I don't know what I don't know. I am pretty good with working in WordPress but I am new to editing the file itself rather than using custom code on individual pages via a plugin.

Since you have not mentioned if the styles are applied to all web pages or to a particular page, I will try to help with the general answer which will help you to solve the problem you are experiencing. There are two ways you solve this issues one is adding styles to Elemantor Pro or by adding it to wordpress directly. To add styles to using Elemantor Pro is by right clicking on the element edit button and go to advanced and in advanced you will have custom CSS, for further info read more. Similarly you can to add custom CSS in wordpress by following link here

Related

Convert HTML site to WordPress [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I am totally a beginner to WordPress. I have a html site that needs to be converted to WordPress. And it should be fully customizable. I have seen plenty of tutorials but those didn't help. Anyone who can help?
This is not a great question for SO but FYI you need to consider what your site contains. Is it a bunch of HTML pages each of which represents a page with content or a post with content?
Wordpress is a CMS (content management system). It primarily deals with posts (dated items), pages (static posts), and images (media). Think about how your content in your existing HTML site will map to Wordpress.
Finally think about the rationale to move. There is a trend to move away from CMS / Wordpress to static HTML sites (for performance and security). What would you win out of migrating?
You see, more questions than answers. Keep investigating and come back with specific questions.
There are several options:
Use some online converter, like https://htmltowordpress.io/ ( but I guess you'll have do some tweaks after to suite your needs)
Install clean WordPress on your host and search for some good WordPress theme, that could be tweaked to look like yours original site Front End.
Hire a freelancer do do the work for you, It should't be very expensive :)
First of all, You should have a good knowledge of html,php and css.
You can choose to start with one these two of following options.
1, Creating a new theme.
2, Choosing an exixting theme and updating it.
You can find both the above given options at https://www.elegantthemes.com/blog/tips-tricks/converting-html-sites-to-wordpress-sites
Hope this will help.

Wordpress theme development and bootstrap [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I just started to explore the Bootstrap project which seems nice to use in web development. I read some articles, some of them where sceptical to the combination of Wordpress and Bootstrap. This was due to the fact that (as I understand it) Bootstrap has it's own pre defined classes that you are supposed to add to your html tags, while Wordpress has another set of classes for the same elements.
I understand the problem and I would like to know if there are any "best practices" regarding this. I know that there exists plugins for this task but I like to understand this myself. I think that the trickiest part is the auto generated wp-menus and those things, am I right?
Question:
I think (without further investigation) that I in some situations want to map a wordpress class (eg. wp-menu classes) to a Bootstrap class. How do I do that?
Twitter Bootstrap will help you to build responsive theme for wordpress quickly. You can check the following link to know the difference of major common twitter bootstrap's classes that means when you should use which sets of class. If you want to add or alter the class of Wordpress menu, you should customize the Walker_Nav_Menu class. This link will help you. You can follow the wordpress standard. And finally there are many wordpress theme development frameworks which have already bootstrap. i.e. roots, underscores and so on. I like these both.

Drupal to Wordpress migration - Keeping the theme same [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have a Drupal site and I've have made a decision to migrate it to Wordpress. I want to keep the same design/theme in my new WP site.
I'm wondering what part of current Drupal theme can be used in the new WP theme. Can the HTML/CSS, JS be re-used? If yes, the how?
I don't have any experience with theming so I am curious to know this.
Any help would be really appreciated.
Thanks in Advance!
I see no reason why you couldn't do that the css and js should work fine with no modification at all. You will need to do a lot of work on the html first you will have to remove the php or template tags that drupal uses (Not sure how it does it's templates). Then what I suggest you do is take a look at another wordpress theme and replicate the structure and theme files. Take the html from you drupal theme and add it to the wordpress pages style it how you like, now you will need to do some research on how to get what you need out of wordpress this is often done with php tags so your theme files for wordpress will need to be .php it is best to have a header and footer php that you can include all you links to the css and javascript. Hope this helps comment bellow if you need more help.

Wordpress - Custom "plugin" that displays on a Page [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 months ago.
Improve this question
I have to build a custom plugin for a client who is using wordpress. I am dont use wordpress so I dont know how it works. I just want to understand how this will work..
I have to build them a search plugin that will be display inside a page. It will get data from an excel spreadsheet that lives on the server, so they can edit that content and it will pull all that data into the page. Is this a plugin? where do I start?
I will also need to use jQuery to do some more to the data once on the page.
Wordpress plugin develop does take some work, but it is extremely well documented. I would go to the following pages in the order that they are listed:
http://codex.wordpress.org/Writing_a_Plugin
http://codex.wordpress.org/Plugin_API
http://codex.wordpress.org/Plugin_Resources
Once you've gone through those pages, you should have a lot more information on plugin development and how you might do what you are after.
I had the same question. Looking at some plugins, it seems they are using short codes to place plugins in specific pages. Here's the link in wordpress:
http://codex.wordpress.org/Shortcode_API
For WordPress 6.0 please check this page:
Plugin developer handbook

How to add css in post? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I use Wordpress.
I need to add in my post CSS and I didn`t find any plugins...
Have you tried inline style="background: #00ff00;"?
Or am I not understanding your questions correctly? You should be able to do inline styles by clicking the HTML tab when you create your post.
As I was feeling generous, I did a search for 'wordpress css in post' and got this result:
http://digwp.com/2010/02/custom-css-per-post/
Hope that helps.
What do you mean? If you want to manually style a post, you edit the stylesheet for your theme, usually located in wordpress/wp-content/themes/your-theme-name/. You can adjust that to your needs.
As for adding CSS inside a post, use the CodeHighlighter plugin. You enclose your CSS inside of a set of <pre lang="cpp"></pre> tags.
Good luck!
if you want blog post to be custom(add css to it), you will hardly find any plug-in, but if you plan to do it manually it is not difficult though you have to add css styles to page.php and single.php which are in your active wp theme folder.
see any sandbox theme for clear understanding , i use blueprint framework for wordpress which is easy to customize.

Resources