Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename .tag Class as it breaks WordPress Tags Archives #77

Open
quickonlinetips opened this issue Nov 15, 2021 · 0 comments
Open

Rename .tag Class as it breaks WordPress Tags Archives #77

quickonlinetips opened this issue Nov 15, 2021 · 0 comments

Comments

@quickonlinetips
Copy link

quickonlinetips commented Nov 15, 2021

Chota CSS uses .tag in CSS to style tags component

.tag {
  display: inline-block;
  border: 1px solid var(--color-lightGrey);
  text-transform: uppercase;
  color: var(--color-grey);
  padding: 0.5rem;
  line-height: 1;
  letter-spacing: 0.5px;
}
.tag.is-small {
  padding: 0.4rem;
  font-size: 0.75em;
}
.tag.is-large {
  padding: 0.7rem;
  font-size: 1.125em;
}
.tag+.tag {
  margin-left: 1rem;
}

WordPress generates tag class in body in Tag archives by default
<body class="archive tag tag-tutorials tag-49 logged-in wp-embed-responsive" >

This means that the tag class gets applied to the entire tag archives and breaks my site.

Request to rename .tag to some other class so it can work plug and play in WordPress

@quickonlinetips quickonlinetips changed the title Tag Rename .tag Class as it breaks WordPress Tags Archives Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant