Removing double border in top menu Prestashop - css

I am currently building a simple prestashop webshop for some products I sell. I like PrestaShop's default bootstrap theme and there are just some minor things i'd like to adjust.
One of them is the top menu. I already changed the colors, font and added a top border but there is one thing still bugging me and i can seem to remove it!
It is the line underneath the menu items, as shown in the picture attached:
I am editting the superfish-modified.css file found in the modules --> blocktopmenu --> css folder.
All other changes I wanted to implement were also done via that very same CSS.
The (already somewhat modified) CSS file can be found here:
http://lutijn.nl/superfish-modified.css

you declare this with your css:
.sf-menu > li > a {
font: 600 18px/22px "Montserrat", sans-serif;
text-transform: uppercase;
color: #484848;
display: block;
padding: 17px 20px;
border-bottom: 2px solid #e9e9e9; }
just remove the border-bottom set it to none

Related

Cannot change the font size of div class="entry-content" in WordPress

I cannot seem to change the font size of div class="entry-content" in my WordPress site. I am using the Google Fonts plugin to add CSS Selectors but it does not seem to be changing the font of a post which is too big. I did manage to change fonts of other pages and posts using the Google Fonts plugin (h1.entry-title, p.form-submit) but it is not working for the div class.
Here is the code for change anything on that, like i have change color, font-size and padding
article .content-wrap-inner .entry-content p {
font-size: 24px;
padding: 20px;
color: #000;
background-color: rgba(0,0,0,0);
}
Try this:
.entry-content p {
font-size: 20px;
}
This will target the <p> in the .entry-content class.

Editing font size of navigation bar links in Wordpress?

I am trying to figure out how to change the font size of the navigation bar on my company's website: http://bicycle.ns.ca/
I've tried to edit the CSS through the theme that is currently installed but no changes occur still.
I also dived into the themes style.css file and tried various things like:
a {
font-size: 25px;
}
to no avail. Can someone point me in the right direction?
you need to edit properties of top menu tag.. try this!
.top-menu a
{
color: #6b6b6b;
font-size: 25px; <!–– Try Editing Here ––>
line-height: 12px;
display: block;
}
You can change the font site of the menu items in menu by adding the following CSS property for menu links
.top-menu a{
font-size: 12px !important;
}

How can I be specific enough when targeting a link with css in a wordpress plugin?

Recent Posts Widget Extended (RPWE) generates the post title as a link. On one particular page I'd like to disable the link around the title text. No class is generated by the widget for the link but there's a rel, which should be specific enough. I've added the following CSS:
a[rel="bookmark"] {
pointer-events: none;
cursor: default;
text-decoration-line: none !important;
font-size: 18px;
color: #000000;
}
Everything worked except removing the underline. It looks like I'm not being specific enough?
To remove underline you can use
text-decoration: none!important;
if still doesn't work for a element could be the text-decoration is applied at a child you could try:
a[rel="bookmark"] *{
text-decoration: none!important;
}
If doesn't work means there is another rule with !important and you have to use the browser debugger tool.
Use the debugger tool in your browser to find why text-decoration:none; is being overridden. Usually there's a more specific selector being used. However in this case a wordpress style sheet was also using a border under all links:
box-shadow: 0 1px 0 0 currentColor;
and this needed disabling too by selecting the link and styling with
box-shadow: none;

how to customize the look of a Tab for Android in codename one?

I am using the CSS Plugin for codename one and I am trying to customize the look of Tabs.
Here is my entry for the Tab:
Tab {
background: none;
cn1-background-type: none;
color: white;
background-color: #005EA8;
font-weight: bold;
font-size: x-large;
}
Tab.selected {
background: none;
cn1-background-type: none;
color: white;
background-color: #005EA8;
text-decoration: underline;
font-weight: bold;
font-size: x-large;
}
This works perfectly for IOS, see here:
But not at all for android:
I have already tried by overriding all the styles, unselected, selected, disabled and pressed
.
I also tried by customizing TabbedPane and Tabs, but that did not work as expected either.
What am I missing here? Additionally, the size (height) should be the same on both devices, which is not the case for now. Another point I could not figure out is, how to stretch the tabs onto screen size?
The Android native theme defines a default background color of #f0f0f0 on ALL styles. This is an annoyance when you are trying to create themes that look the same across all platforms. Luckily, I think this is the only style that it defines in default so you can easily combat it by explicitly setting your own default background color for your theme.
In CSS, you can define a default background with
* {
background-color: transparent;
}
Alternatively, just keep this default in mind, and explicitly set the background color for any style you are defining.
You need to override the border and declare it to be "empty". I'm not sure how something like that is done in the CSS syntax as I don't use that myself.

Changing style in the tabs of the plain ASP.NET project

I am trying to build a web app using as starting point the sample ASP.NET Web Application that VS2010 makes available in the Add Projects. Specifically, I am trying to use the tabbed menu, and change its behavior from the default. In particular, I am trying to change the tab colors. Well, this works in the designer. I can make the tab background white and the foreground red, but when I run the app it displays the tabs in the original drab colors. It is ignoring the changes I am making to the stylesheet, in other words. Or so it appears at least. Is there something I am missing here?
What I want is here:
This is what I get, despite my changes to stylesheet:
Here is the modified CSS element, which the designer is conforming to, but at run time is being ignored apparently:
div.menu ul li a, div.menu ul li a:visited
{
background-color: #ffffff;
border: 1px #4e667d solid;
color: #ff0000;
display: block;
line-height: 1.35em;
padding: 4px 20px;
text-decoration: none;
white-space: nowrap;
}
I am stumped.
Have you tried refreshing the browser/ clearing the cache?

Resources